X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25466131acbbca2186d01fb852d61f50ba968fb4..d1526a6787a5dc39dd7c07662a355818527041e7:/src/mac/classic/menu.cpp diff --git a/src/mac/classic/menu.cpp b/src/mac/classic/menu.cpp index a075a91e7c..cb384236e0 100644 --- a/src/mac/classic/menu.cpp +++ b/src/mac/classic/menu.cpp @@ -574,7 +574,7 @@ void wxMenuBar::MacInstallMenuBar() } else { - wxAcceleratorEntry* entry = wxGetAccelFromString( item->GetText() ) ; + wxAcceleratorEntry* entry = wxAcceleratorEntry::Create( item->GetText() ) ; if ( item->GetId() == wxApp::s_macAboutMenuItemId ) {