X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..defeae282fad5fa8887d05d2f27cd8a4668491a5:/src/mac/classic/menu.cpp diff --git a/src/mac/classic/menu.cpp b/src/mac/classic/menu.cpp index 01345794d2..cb384236e0 100644 --- a/src/mac/classic/menu.cpp +++ b/src/mac/classic/menu.cpp @@ -23,13 +23,12 @@ #ifndef WX_PRECOMP #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/utils.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 ) {