]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/frame.cpp
reverting to native mac pathnames
[wxWidgets.git] / src / os2 / frame.cpp
index dbc1e6be9811e0737f368cf323278dc4001fb065..457b71276766c78099dce7600ad9ecab1f9905ea 100644 (file)
@@ -1109,6 +1109,15 @@ void wxFrame::OnActivate(
     }
 } // end of wxFrame::OnActivate
 
+void wxFrame::RemoveChild(
+  wxWindowBase*                     pChild
+)
+{
+    if (pChild == m_pWinLastFocused)
+        m_pWinLastFocused = NULL;
+    wxFrameBase::RemoveChild(pChild);
+} // end of wxFrame::RemoveChild
+
 // ----------------------------------------------------------------------------
 // wxFrame size management: we exclude the areas taken by menu/status/toolbars
 // from the client area, so the client area is what's really available for the