X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..d1526a6787a5dc39dd7c07662a355818527041e7:/src/mac/classic/menu.cpp 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 ) {