]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/stc.cpp
compilation fix for gcc (closes bug 996701)
[wxWidgets.git] / contrib / src / stc / stc.cpp
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();
 }