X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76b49cf49ba9ee9f3eeec9730cb4bc4569ab17f1..5dafb071ba85e7329aa4a0ac176f3ec8e13e55dc:/src/mac/classic/menu.cpp diff --git a/src/mac/classic/menu.cpp b/src/mac/classic/menu.cpp index 70287633ae..cb384236e0 100644 --- a/src/mac/classic/menu.cpp +++ b/src/mac/classic/menu.cpp @@ -26,10 +26,9 @@ #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 ) {