]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_menu.cpp
Added generic LoadObject methods that can load any classtype from a
[wxWidgets.git] / src / xrc / xh_menu.cpp
index 4ff9112e1df087e60b13ac89989529aae8da519d..08d5dc4d210cfb2b6afbb29bb82605684f19812e 100644 (file)
@@ -87,7 +87,7 @@ wxObject *wxMenuXmlHandler::DoCreateResource()
                                                
 #if wxCHECK_VERSION(2,3,0) || defined(__WXMSW__)
                 if (HasParam(wxT("bitmap")))
-                    mitem->SetBitmap(GetBitmap(wxT("bitmap")));
+                    mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));
 #endif
             p_menu->Append(mitem);
             mitem->Enable(GetBool(wxT("enabled"), TRUE));