X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/511ac294daea69d4bae9644db2fb272c712e059c..582f07c2532e6e2d7d1ccb235354548e9bada9bf:/include/wx/os2/gauge.h?ds=inline diff --git a/include/wx/os2/gauge.h b/include/wx/os2/gauge.h index d7dd800512..9b8f2dca23 100644 --- a/include/wx/os2/gauge.h +++ b/include/wx/os2/gauge.h @@ -25,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 ) { @@ -37,9 +35,7 @@ public: ,rPos ,rSize ,lStyle -#if wxUSE_VALIDATORS ,rValidator -#endif ,rsName ); } @@ -50,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 ); @@ -74,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)