From: Robert Roebling Date: Thu, 10 Jan 2008 15:03:30 +0000 (+0000) Subject: Use SetFocusIgnoringChildren() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c93c8b188d778ccbb899df7a5eee60bf3b63aeeb Use SetFocusIgnoringChildren() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 46cf4f3638..e8cfa29862 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2161,7 +2161,7 @@ void wxListTextCtrlWrapper::Finish( bool setfocus ) wxPendingDelete.Append( this ); if (setfocus) - m_owner->SetFocus(); + m_owner->SetFocusIgnoringChildren(); } bool wxListTextCtrlWrapper::AcceptChanges()