X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e04fe03d0f0d5cda7f9c2712ed3a65988839002c..7b4a652a8bf3da1b2dd20dd22c9e6db5dd03db59:/include/wx/gtk/gauge.h diff --git a/include/wx/gtk/gauge.h b/include/wx/gtk/gauge.h index 4760676800..e00e65d934 100644 --- a/include/wx/gtk/gauge.h +++ b/include/wx/gtk/gauge.h @@ -77,18 +77,19 @@ public: bool IsVertical() const { return HasFlag(wxGA_VERTICAL); } + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // implementation // ------------- - void ApplyWidgetStyle(); - // the max and current gauge values int m_rangeMax, 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 +99,10 @@ protected: // set the gauge value to the value of m_gaugePos void DoSetGauge(); + virtual wxSize DoGetBestSize() const; + + virtual wxVisualAttributes GetDefaultAttributes() const; + private: DECLARE_DYNAMIC_CLASS(wxGauge) };