#endif
#include "wx/gauge.h"
+
+#if wxUSE_GAUGE
+
#include "gdk/gdk.h"
#include "gtk/gtk.h"
PreCreation( parent, id, pos, size, style, name );
- SetValidator( validator );
+#if wxUSE_VALIDATORS
+ SetValidator( validator );
+#endif
m_rangeMax = range;
m_gaugePos = 0;
gtk_widget_set_style( m_widget, m_widgetStyle );
}
+#endif