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:
Stefan Csomor
2005-05-03 05:34:53 +00:00
parent 7a27cf7c18
commit a71dec776e

View File

@@ -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 )
{