]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/mdig.cpp
Correct wxDataViewListModel::RowPrepended
[wxWidgets.git] / src / generic / mdig.cpp
index 3326c0592c0bb77da611b2b74458129d18602ad6..591bae2bc4bae926fbbbda5da72c7d84898afac3 100644 (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);
 }
 
 // ----------------------------------------------------------------------------