X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58614078c466cffaf0e5d0369741706f130fb793..0b6cf8797e1a7432c7b4871376a0e42696712cf0:/include/wx/gtk/slider.h

diff --git a/include/wx/gtk/slider.h b/include/wx/gtk/slider.h
index cb7e567c0f..aa8f0f969e 100644
--- a/include/wx/gtk/slider.h
+++ b/include/wx/gtk/slider.h
@@ -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__