]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
delete children in ~wxWindow dtor and not in the base class ~wxWindowNative as it...
[wxWidgets.git] / src / generic / treectlg.cpp
index 0018af55bdb6b687d7b0afbfac286123a67c4138..8155541026828ae58fbd3173af8eaa4ae6fb9529 100644 (file)
@@ -415,7 +415,7 @@ void wxTreeTextCtrl::Finish()
 
         m_finished = true;
 
-        m_owner->SetFocus(); // This doesn't work. TODO.
+        m_owner->SetFocusIgnoringChildren();
     }
 }