]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/spinctrl.cpp
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / src / mac / spinctrl.cpp
index 54384ccb1cac80082a83aac2906631d5aba165a5..272c0791f351eefd4919902012cdf8bb7769669b 100644 (file)
 
 #include "wx/spinctrl.h"
 
 
 #include "wx/spinctrl.h"
 
+#if 0
 
 
+// now using the generic impl
 //-----------------------------------------------------------------------------
 // wxSpinCtrl
 //-----------------------------------------------------------------------------
 
 //-----------------------------------------------------------------------------
 // wxSpinCtrl
 //-----------------------------------------------------------------------------
 
-#if wxUSE_SPINBTN
+#if wxUSE_SPINBTN && !defined(__WXMAC__)
 
 #if !USE_SHARED_LIBRARY
      IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
 
 #if !USE_SHARED_LIBRARY
      IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
@@ -37,5 +39,7 @@
 
 #endif // wxUSE_SPINBTN/!wxUSE_SPINBTN
 
 
 #endif // wxUSE_SPINBTN/!wxUSE_SPINBTN
 
+#endif
+
 #endif   // wxUSE_SPINCTRL
 
 #endif   // wxUSE_SPINCTRL