]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/slider.mm
Clear --> ClearBackground
[wxWidgets.git] / src / cocoa / slider.mm
index ab53b6c04b39af3b7e1cd8b549a986a9acf48f08..7e319e48446b3da55c54278e32e1579ba1770bba 100644 (file)
@@ -9,6 +9,7 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+#include "wx/setup.h"
 #if wxUSE_SLIDER
 
 #include "wx/app.h"
@@ -37,8 +38,6 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID winid,
 
 wxSlider::~wxSlider()
 {
-    CocoaRemoveFromParent();
-    SetNSView(NULL);
 }
 
 #endif // wxUSE_SLIDER