]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/frame.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / os2 / frame.cpp
index e15c049b133c8c8672ff98b81127c2a8ce72f880..3464ed330028b62f23b3698ef1e4545a2dec8bdc 100644 (file)
@@ -685,7 +685,7 @@ bool wxFrame::ProcessCommand(int id)
     if ( !bar )
         return FALSE;
 
-    wxMenuItem *item = bar->FindItemForId(id);
+    wxMenuItem *item = bar->FindItem(id);
 
     if ( item &&  item->IsCheckable() )
     {