]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/menu.cpp
use WX_DEFINE_ARRAY_INT for an array of ints (bug 1536482)
[wxWidgets.git] / src / mac / classic / menu.cpp
index a075a91e7cff226aa3b796c141fe59d2c767a2f2..cb384236e069f9d1df44456fef948e7e22e104af 100644 (file)
@@ -574,7 +574,7 @@ void wxMenuBar::MacInstallMenuBar()
                     }
                     else
                     {
                     }
                     else
                     {
-                        wxAcceleratorEntry* entry = wxGetAccelFromString( item->GetText() ) ;
+                        wxAcceleratorEntry* entry = wxAcceleratorEntry::Create( item->GetText() ) ;
 
                         if ( item->GetId() == wxApp::s_macAboutMenuItemId )
                         {
 
                         if ( item->GetId() == wxApp::s_macAboutMenuItemId )
                         {