Add SetFocusIgnoringChildren() to wxControlContainer. This
makes corresponding hacks in wxListCtrl and wxTreeCtrl obsolete. With docs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -415,7 +415,7 @@ void wxTreeTextCtrl::Finish()
|
||||
|
||||
m_finished = true;
|
||||
|
||||
m_owner->SetFocus(); // This doesn't work. TODO.
|
||||
m_owner->SetFocusIgnoringChildren();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user