#include "wx/control.h"
-WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr;
-
class WXDLLEXPORT wxGauge: public wxControl
{
public:
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxGA_HORIZONTAL
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxGaugeNameStr
)
{
,rPos
,rSize
,lStyle
-#if wxUSE_VALIDATORS
,rValidator
-#endif
,rsName
);
}
,const wxPoint& rPos = wxDefaultPosition
,const wxSize& rSize = wxDefaultSize
,long lStyle = wxGA_HORIZONTAL
-#if wxUSE_VALIDATORS
,const wxValidator& rValidator = wxDefaultValidator
-#endif
,const wxString& rsName = wxGaugeNameStr
);
protected:
int m_nRangeMax;
int m_nGaugePos;
+ int m_nWidth;
+ int m_nHeight;
+
+ wxSize wxGauge::DoGetBestSize(void) const;
private:
DECLARE_DYNAMIC_CLASS(wxGauge)