]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/menu.cpp
corrected redraw problems with native controls
[wxWidgets.git] / src / mac / menu.cpp
index 9d308de12071467827fcf58f1a6f4211c1e90186..621494b83dc0d6015c3573d884ec2abfea1fdb95 100644 (file)
@@ -631,6 +631,9 @@ void wxMenuBar::RebuildAccelTable()
 
 void wxMenuBar::MacInstallMenuBar() 
 {
+       if ( s_macInstalledMenuBar == this )
+               return ;
+               
        Handle menubar = ::GetNewMBar( kwxMacMenuBarResource ) ;
        wxString message ;
        wxCHECK_RET( menubar != NULL, "can't read MBAR resource" );