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:
@@ -740,11 +740,7 @@ int wxAuiDefaultToolBarArt::ShowDropDown(wxWindow* wnd,
|
|||||||
if (text.empty())
|
if (text.empty())
|
||||||
text = wxT(" ");
|
text = wxT(" ");
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
|
||||||
wxMenuItem* m = new wxMenuItem(&menuPopup, item.GetId(), text, item.GetShortHelp());
|
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());
|
m->SetBitmap(item.GetBitmap());
|
||||||
menuPopup.Append(m);
|
menuPopup.Append(m);
|
||||||
|
Reference in New Issue
Block a user