submenus have to work in these as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -919,6 +919,7 @@ bool wxMenuBar::Append(wxMenu *menu, const wxString& title)
|
|||||||
{
|
{
|
||||||
if (s_macInstalledMenuBar == this)
|
if (s_macInstalledMenuBar == this)
|
||||||
{
|
{
|
||||||
|
menu->MacBeforeDisplay( false ) ;
|
||||||
::InsertMenu( MAC_WXHMENU(menu->GetHMenu()) , 0 ) ;
|
::InsertMenu( MAC_WXHMENU(menu->GetHMenu()) , 0 ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user