]> git.saurik.com Git - wxWidgets.git/commitdiff
This workaround is no longer needed because of fix in
authorRobin Dunn <robin@alldunn.com>
Mon, 14 Jun 2004 22:05:52 +0000 (22:05 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 14 Jun 2004 22:05:52 +0000 (22:05 +0000)
wxWindowMac::MacWindowToRootWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/stc/stc.cpp
contrib/src/stc/stc.cpp.in
src/stc/stc.cpp
src/stc/stc.cpp.in

index 83a9e24895742318a4b017df19904f2a5dd0b4de..f96e8ffadc0e605261ab7a2ce4813ecb30427a6d 100644 (file)
@@ -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();
 }
 
index a52798705e5e8a8a8d66dfc1a80e626d71e4631a..11f590c9a47e392a6e2075454dee23bf7d730b82 100644 (file)
@@ -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();
 }
 
index 83a9e24895742318a4b017df19904f2a5dd0b4de..f96e8ffadc0e605261ab7a2ce4813ecb30427a6d 100644 (file)
@@ -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();
 }
 
index a52798705e5e8a8a8d66dfc1a80e626d71e4631a..11f590c9a47e392a6e2075454dee23bf7d730b82 100644 (file)
@@ -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();
 }