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:
@@ -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);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user