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()