]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/scrolbar.h
Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
[wxWidgets.git] / include / wx / gtk / scrolbar.h
index 98a3da43b1e7dcfc80ba48f8f68f5f8a1dbc0c90..75344cb221490c347d656577cb62c44b9b47bdf1 100644 (file)
@@ -16,6 +16,9 @@
 #endif
 
 #include "wx/defs.h"
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_SCROLLBAR
+
 #include "wx/object.h"
 #include "wx/control.h"
 
 #include "wx/object.h"
 #include "wx/control.h"
 
@@ -86,5 +89,7 @@ class wxScrollBar: public wxControl
     float           m_oldPos;
 };
 
     float           m_oldPos;
 };
 
+#endif
+
 #endif
     // __GTKSCROLLBARH__
 #endif
     // __GTKSCROLLBARH__