deprecate the old TryValidator/Parent() and replace them with the new and documented TryBefore/After()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-02-26 16:16:31 +00:00
parent 531cfed2d1
commit 8cc208e39f
14 changed files with 206 additions and 90 deletions

View File

@@ -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);
}
// ----------------------------------------------------------------------------