From: Robin Dunn Date: Mon, 14 Jun 2004 22:05:52 +0000 (+0000) Subject: This workaround is no longer needed because of fix in X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ec830416c5468c3e5de95c648f6e9bd700b598bd This workaround is no longer needed because of fix in wxWindowMac::MacWindowToRootWindow git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/stc/stc.cpp b/contrib/src/stc/stc.cpp index 83a9e24895..f96e8ffadc 100644 --- a/contrib/src/stc/stc.cpp +++ b/contrib/src/stc/stc.cpp @@ -2720,10 +2720,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(); } diff --git a/contrib/src/stc/stc.cpp.in b/contrib/src/stc/stc.cpp.in index a52798705e..11f590c9a4 100644 --- a/contrib/src/stc/stc.cpp.in +++ b/contrib/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(); } diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index 83a9e24895..f96e8ffadc 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -2720,10 +2720,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(); } 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(); }