]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/control.cpp
avoid overdrawing, fixes #10865
[wxWidgets.git] / src / osx / carbon / control.cpp
index dca650e0c8581f8becd0282ee7a74b07a43eb568..7f406f3a8bf86d4bc62b931d34f7654c8b4873bf 100644 (file)
     #include "wx/sizer.h"
 #endif // WX_PRECOMP
 
-#include "wx/notebook.h"
-#include "wx/tabctrl.h"
-#include "wx/spinbutt.h"
-
 #include "wx/osx/private.h"
 
 IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
@@ -67,11 +63,6 @@ bool wxControl::Create( wxWindow *parent,
     return rval;
 }
 
-wxControl::~wxControl()
-{
-    m_isBeingDeleted = true;
-}
-
 bool wxControl::ProcessCommand( wxCommandEvent &event )
 {
     // Tries: