]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/scrolbar.h
1. corrected client data deletion in wxListBox (no more memory leaks in controls
[wxWidgets.git] / include / wx / gtk / scrolbar.h
index 98a3da43b1e7dcfc80ba48f8f68f5f8a1dbc0c90..75344cb221490c347d656577cb62c44b9b47bdf1 100644 (file)
@@ -16,6 +16,9 @@
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_SCROLLBAR
+
 #include "wx/object.h"
 #include "wx/control.h"
 
@@ -86,5 +89,7 @@ class wxScrollBar: public wxControl
     float           m_oldPos;
 };
 
+#endif
+
 #endif
     // __GTKSCROLLBARH__