]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/mdi.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / os2 / mdi.cpp
index b30e8d41d7e49fbb7b2338a109002f271215b5af..33756f07928a7226a154bb9f406b1a2f6307d840 100644 (file)
@@ -910,7 +910,7 @@ bool wxMDIChildFrame::HandleCommand(WXWORD id, WXWORD cmd, WXHWND hwnd)
 //            return TRUE;
     }
 
 //            return TRUE;
     }
 
-    if (GetMenuBar() && GetMenuBar()->FindItemForId(id))
+    if (GetMenuBar() && GetMenuBar()->FindItem(id))
     {
         ProcessCommand(id);
         return TRUE;
     {
         ProcessCommand(id);
         return TRUE;