]> 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 70287633aec16133ccb3b5d8c4dd7b6bc416fbeb..cb384236e069f9d1df44456fef948e7e22e104af 100644 (file)
     #include "wx/utils.h"
     #include "wx/window.h"
     #include "wx/frame.h"
+    #include "wx/menuitem.h"
 #endif
 
-#include "wx/menuitem.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 )
                         {