]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/slider.h
Checking for wxUSE_SOCKETS and __GSOCKET_STANDALONE__ should be right, now
[wxWidgets.git] / include / wx / gtk / slider.h
index cb7e567c0f852985ecd08d4bd8359f3b0517599b..aa8f0f969ee6a1fdaf8a28f2fba704630c027880 100644 (file)
@@ -7,7 +7,6 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-
 #ifndef __GTKSLIDERH__
 #define __GTKSLIDERH__
 
@@ -16,6 +15,9 @@
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_SLIDER
+
 #include "wx/object.h"
 #include "wx/list.h"
 #include "wx/control.h"
@@ -90,4 +92,6 @@ class wxSlider: public wxControl
     
 };
 
+#endif
+
 #endif // __GTKSLIDERH__