]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
Committing in .
[wxWidgets.git] / src / msw / mdi.cpp
index 08360e1d02ec616fd84d7cbfa28f4173ab7fdeaf..d59e323f81915c237695a0d25e43c0aec16b99d4 100644 (file)
@@ -45,7 +45,7 @@
 #include "wx/msw/private.h"
 
 #if wxUSE_NATIVE_STATUSBAR
-    #include <wx/msw/statbr95.h>
+    #include "wx/msw/statbr95.h"
 #endif
 
 #include <string.h>
@@ -889,7 +889,7 @@ bool wxMDIChildFrame::HandleCommand(WXWORD id, WXWORD cmd, WXHWND hwnd)
             return TRUE;
     }
 
-    if (GetMenuBar() && GetMenuBar()->FindItemForId(id))
+    if (GetMenuBar() && GetMenuBar()->FindItem(id))
     {
         ProcessCommand(id);
         return TRUE;