]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/slider_osx.cpp
use text cursor only when control is enabled, #10347
[wxWidgets.git] / src / osx / slider_osx.cpp
index 45b335899df0a1ab71f6fc9ca538498d4d1e38ee..c0e980c3763c8143d9eba18dab4902adf933647a 100644 (file)
@@ -22,8 +22,13 @@ BEGIN_EVENT_TABLE(wxSlider, wxControl)
 END_EVENT_TABLE()
 
  // The dimensions of the different styles of sliders (from Aqua document)
-#define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 24
-#define wxSLIDER_DIMENSIONACROSS_ARROW 18
+#ifdef wxOSX_USE_COCOA
+    #define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 25
+    #define wxSLIDER_DIMENSIONACROSS_ARROW 21
+#else
+    #define wxSLIDER_DIMENSIONACROSS_WITHTICKMARKS 24
+    #define wxSLIDER_DIMENSIONACROSS_ARROW 18
+#endif
 
 // Distance between slider and text
 #define wxSLIDER_BORDERTEXT 5