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