]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/menu.cpp
use WX_DEFINE_ARRAY_INT for an array of ints (bug 1536482)
[wxWidgets.git] / src / mac / classic / menu.cpp
index 66a7365a55485b36ab93eedddd7a4ce78140d3f9..cb384236e069f9d1df44456fef948e7e22e104af 100644 (file)
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/utils.h"
+    #include "wx/window.h"
+    #include "wx/frame.h"
+    #include "wx/menuitem.h"
 #endif
 
-#include "wx/menuitem.h"
-#include "wx/window.h"
-#include "wx/frame.h"
-
 #include "wx/mac/uma.h"
 
 // other standard headers
@@ -575,7 +574,7 @@ void wxMenuBar::MacInstallMenuBar()
                     }
                     else
                     {
-                        wxAcceleratorEntry* entry = wxGetAccelFromString( item->GetText() ) ;
+                        wxAcceleratorEntry* entry = wxAcceleratorEntry::Create( item->GetText() ) ;
 
                         if ( item->GetId() == wxApp::s_macAboutMenuItemId )
                         {