X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e7ea8ebb259cf4a96f35e77abdd334c01327010..fb47b99f25c2c3b6abd5ac71cbcdcf9df2f4f487:/src/xrc/xh_menu.cpp diff --git a/src/xrc/xh_menu.cpp b/src/xrc/xh_menu.cpp index 80a992acfa..8c1e79c962 100644 --- a/src/xrc/xh_menu.cpp +++ b/src/xrc/xh_menu.cpp @@ -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));