fix wxUniv compilation by not using obsolete wxMenuItem ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-07 17:04:23 +00:00
parent c02398c6f2
commit b8e40fb308

View File

@@ -740,11 +740,7 @@ int wxAuiDefaultToolBarArt::ShowDropDown(wxWindow* wnd,
if (text.empty())
text = wxT(" ");
#ifdef __WXMAC__
wxMenuItem* m = new wxMenuItem(&menuPopup, item.GetId(), text, item.GetShortHelp());
#else
wxMenuItem* m = new wxMenuItem(&menuPopup, item.GetId(), text, item.GetShortHelp(), false);
#endif
m->SetBitmap(item.GetBitmap());
menuPopup.Append(m);