X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c299c3ab663257429983c24e6fb71450f3cf9f1..cc8bc5aa9cd14c158de637acb9e5ed8beb066d57:/include/wx/os2/gauge.h?ds=inline diff --git a/include/wx/os2/gauge.h b/include/wx/os2/gauge.h index 67378ff770..9b8f2dca23 100644 --- a/include/wx/os2/gauge.h +++ b/include/wx/os2/gauge.h @@ -14,8 +14,6 @@ #include "wx/control.h" -WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr; - class WXDLLEXPORT wxGauge: public wxControl { public: @@ -27,9 +25,7 @@ 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 ) { @@ -39,9 +35,7 @@ public: ,rPos ,rSize ,lStyle -#if wxUSE_VALIDATORS ,rValidator -#endif ,rsName ); } @@ -52,9 +46,7 @@ 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 ); @@ -76,6 +68,10 @@ public: protected: int m_nRangeMax; int m_nGaugePos; + int m_nWidth; + int m_nHeight; + + wxSize wxGauge::DoGetBestSize(void) const; private: DECLARE_DYNAMIC_CLASS(wxGauge)