]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_menu.cpp
extracted LPITEMIDLIST wrappers in a separate header (also [will be] used by wxStdnar...
[wxWidgets.git] / src / xrc / xh_menu.cpp
index c23acf06aa6f640f72442e2c0af83996d91f7567..e439e69d6605014363d68f880c96d5826fcb18d2 100644 (file)
@@ -88,7 +88,7 @@ wxObject *wxMenuXmlHandler::DoCreateResource()
             wxMenuItem *mitem = new wxMenuItem(p_menu, id, fullLabel,
                                                GetText(wxT("help")), kind);
 
-#if wxUSE_OWNER_DRAWN
+#if !defined(__WXMSW__) || wxUSE_OWNER_DRAWN
             if (HasParam(wxT("bitmap")))
                 mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));
 #endif