Use SetFocusIgnoringChildren()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-01-10 15:03:30 +00:00
parent a8a8915453
commit c93c8b188d

View File

@@ -2161,7 +2161,7 @@ void wxListTextCtrlWrapper::Finish( bool setfocus )
wxPendingDelete.Append( this ); wxPendingDelete.Append( this );
if (setfocus) if (setfocus)
m_owner->SetFocus(); m_owner->SetFocusIgnoringChildren();
} }
bool wxListTextCtrlWrapper::AcceptChanges() bool wxListTextCtrlWrapper::AcceptChanges()