Above 2.3.0 SetBitmap is still for owner drawn only.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-09-24 06:27:15 +00:00
parent 3c907f1a7f
commit a771da4036

View File

@ -88,7 +88,7 @@ wxObject *wxMenuXmlHandler::DoCreateResource()
wxMenuItem *mitem = new wxMenuItem(p_menu, id, fullLabel,
GetText(wxT("help")), kind);
#if wxCHECK_VERSION(2,3,0) || (defined(__WXMSW__) && wxUSE_OWNER_DRAWN)
#if wxUSE_OWNER_DRAWN
if (HasParam(wxT("bitmap")))
mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));
#endif