]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/slider.h
Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
[wxWidgets.git] / include / wx / gtk / slider.h
index 1e2714065ad7a3ae08441e638c165ea22a439a1e..aa8f0f969ee6a1fdaf8a28f2fba704630c027880 100644 (file)
@@ -15,6 +15,9 @@
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_SLIDER
+
 #include "wx/object.h"
 #include "wx/list.h"
 #include "wx/control.h"
@@ -89,4 +92,6 @@ class wxSlider: public wxControl
     
 };
 
+#endif
+
 #endif // __GTKSLIDERH__