From c93c8b188d778ccbb899df7a5eee60bf3b63aeeb Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 10 Jan 2008 15:03:30 +0000 Subject: [PATCH] Use SetFocusIgnoringChildren() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.50.0