wxGTK compiles (and seems to work) again after wxMenu changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1070,10 +1070,10 @@ void wxFrame::Command( int id )
|
||||
wxMenuBar *bar = GetMenuBar();
|
||||
if (!bar) return;
|
||||
|
||||
wxMenuItem *item = bar->FindItemForId(id) ;
|
||||
wxMenuItem *item = bar->FindItem(id) ;
|
||||
if (item && item->IsCheckable())
|
||||
{
|
||||
bar->Check(id,!bar->Checked(id)) ;
|
||||
bar->Check(id, !bar->IsChecked(id)) ;
|
||||
}
|
||||
|
||||
wxEvtHandler* evtHandler = GetEventHandler();
|
||||
|
Reference in New Issue
Block a user