]> git.saurik.com Git - wxWidgets.git/commitdiff
OS/2 needs wxUSE_OWNER_DRAWN, too
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 21 Oct 2004 18:47:19 +0000 (18:47 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 21 Oct 2004 18:47:19 +0000 (18:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xh_menu.cpp

index e439e69d6605014363d68f880c96d5826fcb18d2..4d79129b841bf498aaacdb25138f277ea558e19d 100644 (file)
@@ -88,7 +88,7 @@ wxObject *wxMenuXmlHandler::DoCreateResource()
             wxMenuItem *mitem = new wxMenuItem(p_menu, id, fullLabel,
                                                GetText(wxT("help")), kind);
 
-#if !defined(__WXMSW__) || wxUSE_OWNER_DRAWN
+#if (!defined(__WXMSW__) && !defined(__WXPM__)) || wxUSE_OWNER_DRAWN
             if (HasParam(wxT("bitmap")))
                 mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));
 #endif