GetMenuItemRefCon( command.menu.menuRef , command.menu.menuItemIndex , &refCon ) ;
itemMenu = wxFindMenuFromMacMenu( command.menu.menuRef ) ;
if ( itemMenu != NULL && refCon != 0)
- item = ((wxMenuItemImpl*) refCon)->GetWXPeer() ;
+ item = (wxMenuItem*) refCon;
}
}
#endif
return wxAppBase::ProcessIdle();
}
-#if wxOSX_USE_COCOA_OR_CARBON
-
int wxApp::OnRun()
{
wxMacAutoreleasePool pool;
return wxAppBase::OnRun();
}
-#else
-
-// iPhone version in utils.mm
-
-#endif
-
#if wxOSX_USE_CARBON
bool wxApp::DoInitGui()
{