]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.cpp.in
Use DeafultAttributes instead of hard coded defaults
[wxWidgets.git] / src / stc / stc.cpp.in
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();
 }