X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b7fa2069b9f69c9da5783e04c7a935927eb403f..b879becf6af686ab38d1c67799d837c64fb4833d:/src/generic/mdig.cpp diff --git a/src/generic/mdig.cpp b/src/generic/mdig.cpp index 3326c0592c..591bae2bc4 100644 --- a/src/generic/mdig.cpp +++ b/src/generic/mdig.cpp @@ -515,7 +515,7 @@ void wxGenericMDIChildFrame::OnClose(wxCloseEvent& WXUNUSED(event)) delete this; } -bool wxGenericMDIChildFrame::TryParent(wxEvent& event) +bool wxGenericMDIChildFrame::TryAfter(wxEvent& event) { // we shouldn't propagate the event to the parent if we received it from it // in the first place @@ -523,7 +523,7 @@ bool wxGenericMDIChildFrame::TryParent(wxEvent& event) if ( parent && parent->WXIsInsideChildHandler(this) ) return false; - return wxTDIChildFrame::TryParent(event); + return wxTDIChildFrame::TryAfter(event); } // ----------------------------------------------------------------------------