]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
applying patch, fixes #10523
[wxWidgets.git] / src / msw / mdi.cpp
index c307027bfabbdf71e05f3e58f6df303454df5433..1386635c5131e337f0026a9673953cdcb203030b 100644 (file)
@@ -669,7 +669,7 @@ void wxMDIParentFrame::OnMDICommand(wxCommandEvent& event)
 
 #endif // wxUSE_MENUS
 
-bool wxMDIParentFrame::TryValidator(wxEvent& event)
+bool wxMDIParentFrame::TryBefore(wxEvent& event)
 {
     // menu (and toolbar) events should be sent to the active child frame
     // first, if any
@@ -680,7 +680,7 @@ bool wxMDIParentFrame::TryValidator(wxEvent& event)
             return true;
     }
 
-    return wxMDIParentFrameBase::TryValidator(event);
+    return wxMDIParentFrameBase::TryBefore(event);
 }
 
 WXLRESULT wxMDIParentFrame::MSWDefWindowProc(WXUINT message,