X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a842a96e24cff3d4448fbdb6c2e94dd9f4ad54da..8e72b8b51770b59a83eb32f4d766b89f6c4dc615:/src/mac/spinctrl.cpp?ds=sidebyside

diff --git a/src/mac/spinctrl.cpp b/src/mac/spinctrl.cpp
index 54384ccb1c..272c0791f3 100644
--- a/src/mac/spinctrl.cpp
+++ b/src/mac/spinctrl.cpp
@@ -18,12 +18,14 @@
 
 #include "wx/spinctrl.h"
 
+#if 0
 
+// now using the generic impl
 //-----------------------------------------------------------------------------
 // wxSpinCtrl
 //-----------------------------------------------------------------------------
 
-#if wxUSE_SPINBTN
+#if wxUSE_SPINBTN && !defined(__WXMAC__)
 
 #if !USE_SHARED_LIBRARY
      IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
@@ -37,5 +39,7 @@
 
 #endif // wxUSE_SPINBTN/!wxUSE_SPINBTN
 
+#endif
+
 #endif   // wxUSE_SPINCTRL