X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a12cb0a94ad8d6f0bfeb05af77977f2644b650a..1d54b9d29706dbb43de5624bdf4a2aaa74b2350b:/include/wx/gtk/gauge.h diff --git a/include/wx/gtk/gauge.h b/include/wx/gtk/gauge.h index 5ca47abcf6..46f9cad23b 100644 --- a/include/wx/gtk/gauge.h +++ b/include/wx/gtk/gauge.h @@ -27,19 +27,19 @@ // classes //----------------------------------------------------------------------------- -class wxGauge; +class WXDLLIMPEXP_CORE wxGauge; //----------------------------------------------------------------------------- // global data //----------------------------------------------------------------------------- -extern const wxChar* wxGaugeNameStr; +extern WXDLLIMPEXP_CORE const wxChar* wxGaugeNameStr; //----------------------------------------------------------------------------- // wxGaugeBox //----------------------------------------------------------------------------- -class wxGauge: public wxControl +class WXDLLIMPEXP_CORE wxGauge: public wxControl { public: wxGauge() { Init(); } @@ -77,11 +77,12 @@ 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; @@ -100,6 +101,8 @@ protected: virtual wxSize DoGetBestSize() const; + virtual wxVisualAttributes GetDefaultAttributes() const; + private: DECLARE_DYNAMIC_CLASS(wxGauge) };