X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e04fe03d0f0d5cda7f9c2712ed3a65988839002c..960b193e59a7700570cfcae914ef2f698e6ba3b8:/include/wx/gtk1/gauge.h diff --git a/include/wx/gtk1/gauge.h b/include/wx/gtk1/gauge.h index 4760676800..5ca47abcf6 100644 --- a/include/wx/gtk1/gauge.h +++ b/include/wx/gtk1/gauge.h @@ -87,8 +87,8 @@ public: m_gaugePos; // obsolete functions, don't use -#ifdef WXWIN_COMPATIBILITY_2_2 - bool GetProgressBar() const { return TRUE; } +#if WXWIN_COMPATIBILITY_2_2 + bool GetProgressBar() const { return true; } #endif // WXWIN_COMPATIBILITY_2_2 protected: @@ -98,6 +98,8 @@ protected: // set the gauge value to the value of m_gaugePos void DoSetGauge(); + virtual wxSize DoGetBestSize() const; + private: DECLARE_DYNAMIC_CLASS(wxGauge) };