X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6185e212ebc37ff11ff70278e3c4f68419b097..ec5006bdc630dd6b3d4cad1a3b572ab4c695a029:/src/mac/classic/menu.cpp diff --git a/src/mac/classic/menu.cpp b/src/mac/classic/menu.cpp index 66a7365a55..cb384236e0 100644 --- a/src/mac/classic/menu.cpp +++ b/src/mac/classic/menu.cpp @@ -24,12 +24,11 @@ #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 ) {