From ec830416c5468c3e5de95c648f6e9bd700b598bd Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 14 Jun 2004 22:05:52 +0000 Subject: [PATCH] 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 --- contrib/src/stc/stc.cpp | 5 +---- contrib/src/stc/stc.cpp.in | 5 +---- src/stc/stc.cpp | 5 +---- src/stc/stc.cpp.in | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-) 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(); } -- 2.45.2