X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..571d2e0f232be3f7220c485c7e72eccfb87f2855:/src/mac/classic/menu.cpp?ds=sidebyside diff --git a/src/mac/classic/menu.cpp b/src/mac/classic/menu.cpp index 12cba13bf2..cb384236e0 100644 --- a/src/mac/classic/menu.cpp +++ b/src/mac/classic/menu.cpp @@ -25,11 +25,10 @@ #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/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 ) {