]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/menu.cpp
remove unneeded code
[wxWidgets.git] / src / mac / classic / menu.cpp
index a075a91e7cff226aa3b796c141fe59d2c767a2f2..cb384236e069f9d1df44456fef948e7e22e104af 100644 (file)
@@ -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 )
                         {