X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/719ee9c389634c6e51908b8a298884df520c196b..1ab36908f93242d578b42d314e93dec6a2e2819a:/src/stc/stc.cpp.in diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index a52798705e..11f590c9a4 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -529,10 +529,7 @@ void wxStyledTextCtrl::OnKeyDown(wxKeyEvent& evt) { void wxStyledTextCtrl::OnLoseFocus(wxFocusEvent& evt) { -#ifdef __WXMAC__ - if (! (IsBeingDeleted() || GetParent()->IsBeingDeleted())) -#endif - m_swx->DoLoseFocus(); + m_swx->DoLoseFocus(); evt.Skip(); }