]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_menu.cpp
forgot to commit project file for CW before
[wxWidgets.git] / contrib / src / xrc / xh_menu.cpp
index 80a992acfa95a78e0310af47b70ef9e1377ae804..8c1e79c962c0f05c4bd05f32794cda8c64975b56 100644 (file)
@@ -86,8 +86,8 @@ wxObject *wxMenuXmlHandler::DoCreateResource()
                                                GetText(wxT("help")), kind);
                                                
 #if wxCHECK_VERSION(2,3,0) || (defined(__WXMSW__) && wxUSE_OWNER_DRAWN)
-                if (HasParam(wxT("bitmap")))
-                    mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));
+            if (HasParam(wxT("bitmap")))
+                mitem->SetBitmap(GetBitmap(wxT("bitmap"), wxART_MENU));
 #endif
             p_menu->Append(mitem);
             mitem->Enable(GetBool(wxT("enabled"), TRUE));