X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/713d1441451812a290a4285c7aa2bf1fb020ea6e..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/os2/gauge.h diff --git a/include/wx/os2/gauge.h b/include/wx/os2/gauge.h index 9b8f2dca23..083e9f13a7 100644 --- a/include/wx/os2/gauge.h +++ b/include/wx/os2/gauge.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gauge.h +// Name: wx/os2/gauge.h // Purpose: wxGauge class // Author: David Webster // Modified by: @@ -12,9 +12,7 @@ #ifndef _WX_GAUGE_H_ #define _WX_GAUGE_H_ -#include "wx/control.h" - -class WXDLLEXPORT wxGauge: public wxControl +class WXDLLIMPEXP_CORE wxGauge: public wxGaugeBase { public: inline wxGauge() { m_nRangeMax = 0; m_nGaugePos = 0; } @@ -63,7 +61,7 @@ public: void SetValue(int nPos); inline virtual bool AcceptsFocus(void) const { return FALSE; } - inline virtual void Command(wxCommandEvent& WXUNUSED(rEvent)) {}; + inline virtual void Command(wxCommandEvent& WXUNUSED(rEvent)) {} protected: int m_nRangeMax; @@ -71,11 +69,10 @@ protected: int m_nWidth; int m_nHeight; - wxSize wxGauge::DoGetBestSize(void) const; + wxSize DoGetBestSize(void) const; private: DECLARE_DYNAMIC_CLASS(wxGauge) }; // end of CLASS wxGauge #endif // _WX_GAUGE_H_ -