]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
Add wxWindow::ProcessWindowEventLocally() and use it in wxMSW MDI code.
[wxWidgets.git] / src / msw / mdi.cpp
index 9bcee0a86a490debc6a81af0e4e2e4430b6ae44d..6dd3e63db51017bf09f232a18f03d842bea144e2 100644 (file)
@@ -686,7 +686,7 @@ bool wxMDIParentFrame::TryBefore(wxEvent& event)
     if ( event.GetEventType() == wxEVT_COMMAND_MENU_SELECTED )
     {
         wxMDIChildFrame * const child = GetActiveChild();
-        if ( child && child->ProcessEventHere(event) )
+        if ( child && child->ProcessWindowEventLocally(event) )
             return true;
     }