must be static of course, otherwise items just get appended for every menu-build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -653,7 +653,7 @@ void wxMenuBar::MacInstallMenuBar()
|
||||
MacInsertMenu( appleMenu , 0 ) ;
|
||||
|
||||
// clean-up the help menu before adding new items
|
||||
MenuHandle mh = NULL ;
|
||||
static MenuHandle mh = NULL ;
|
||||
|
||||
if ( mh != NULL )
|
||||
{
|
||||
|
Reference in New Issue
Block a user