X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8a89154531d94c2ff30990a0463a366242703b2..e340b786a8830d79beac196f452f1380143e5df7:/src/generic/listctrl.cpp?ds=sidebyside 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()