#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/frame.h"
-
#include "wx/mac/uma.h"
// other standard headers
}
else
{
- wxAcceleratorEntry* entry = wxGetAccelFromString( item->GetText() ) ;
+ wxAcceleratorEntry* entry = wxAcceleratorEntry::Create( item->GetText() ) ;
if ( item->GetId() == wxApp::s_macAboutMenuItemId )
{