Use SetFocusIgnoringChildren()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2161,7 +2161,7 @@ void wxListTextCtrlWrapper::Finish( bool setfocus )
|
||||
wxPendingDelete.Append( this );
|
||||
|
||||
if (setfocus)
|
||||
m_owner->SetFocus();
|
||||
m_owner->SetFocusIgnoringChildren();
|
||||
}
|
||||
|
||||
bool wxListTextCtrlWrapper::AcceptChanges()
|
||||
|
Reference in New Issue
Block a user