OS/2 needs wxUSE_OWNER_DRAWN, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -88,7 +88,7 @@ wxObject *wxMenuXmlHandler::DoCreateResource()
|
|||||||
wxMenuItem *mitem = new wxMenuItem(p_menu, id, fullLabel,
|
wxMenuItem *mitem = new wxMenuItem(p_menu, id, fullLabel,
|
||||||
GetText(wxT("help")), kind);
|
GetText(wxT("help")), kind);
|
||||||
|
|
||||||
#if !defined(__WXMSW__) || wxUSE_OWNER_DRAWN
|
#if (!defined(__WXMSW__) && !defined(__WXPM__)) || wxUSE_OWNER_DRAWN
|
||||||
if (HasParam(wxT("bitmap")))
|
if (HasParam(wxT("bitmap")))
|
||||||
mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));
|
mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user