#endif
#include "wx/defs.h"
+
+#if wxUSE_GAUGE
+
#include "wx/object.h"
#include "wx/list.h"
#include "wx/control.h"
class wxGauge: public wxControl
{
- DECLARE_DYNAMIC_CLASS(wxGauge)
-
- public:
+public:
inline wxGauge() { m_rangeMax = 0; m_gaugePos = 0; m_useProgressBar = TRUE; }
inline wxGauge( wxWindow *parent, wxWindowID id, int range,
// Are we a Win95/GTK progress bar, or a normal gauge?
inline bool GetProgressBar() const { return m_useProgressBar; }
- // implementation
+ // implementation
+ // -------------
void ApplyWidgetStyle();
-
- int m_rangeMax;
- int m_gaugePos;
- bool m_useProgressBar;
+ int m_rangeMax;
+ int m_gaugePos;
+ bool m_useProgressBar;
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxGauge)
};
+#endif
+
#endif // __GTKGAUGEH__