/////////////////////////////////////////////////////////////////////////////
-// Name: gauge.h
+// Name: wx/os2/gauge.h
// Purpose: wxGauge class
// Author: David Webster
// Modified by:
#ifndef _WX_GAUGE_H_
#define _WX_GAUGE_H_
-#include "wx/control.h"
-
-class WXDLLEXPORT wxGauge: public wxControl
+class WXDLLEXPORT wxGauge: public wxGaugeBase
{
public:
inline wxGauge() { m_nRangeMax = 0; m_nGaugePos = 0; }
protected:
int m_nRangeMax;
int m_nGaugePos;
+ int m_nWidth;
+ int m_nHeight;
+
+ wxSize wxGauge::DoGetBestSize(void) const;
private:
DECLARE_DYNAMIC_CLASS(wxGauge)
}; // end of CLASS wxGauge
#endif // _WX_GAUGE_H_
-