Take care of some focus issues with the AutoComp list box and also a

crash at exit when losing focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-06-10 00:09:27 +00:00
parent 5ac9433d0a
commit 719ee9c389
6 changed files with 62 additions and 6 deletions

View File

@@ -2720,7 +2720,10 @@ void wxStyledTextCtrl::OnKeyDown(wxKeyEvent& evt) {
void wxStyledTextCtrl::OnLoseFocus(wxFocusEvent& evt) {
m_swx->DoLoseFocus();
#ifdef __WXMAC__
if (! (IsBeingDeleted() || GetParent()->IsBeingDeleted()))
#endif
m_swx->DoLoseFocus();
evt.Skip();
}