]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/slider.h
set wxDIALOG_UNIT_COMPATIBILITY to 0 by default
[wxWidgets.git] / include / wx / slider.h
index 2f62950addc34040ddb9c3475845988113830934..dbd0a2a958358fe4ee16ae191f0e05aab5984d5a 100644 (file)
@@ -106,7 +106,9 @@ private:
     #include "wx/univ/slider.h"
 #elif defined(__WXMSW__)
     #include "wx/msw/slider95.h"
-    #define wxSlider wxSlider95
+    #if WXWIN_COMPATIBILITY_2_4
+         #define wxSlider95 wxSlider
+    #endif
 #elif defined(__WXMOTIF__)
     #include "wx/motif/slider.h"
 #elif defined(__WXGTK__)