X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..cb8acbd632841a18c69ac6de9e44910e41a5293f:/include/wx/gtk1/gauge.h diff --git a/include/wx/gtk1/gauge.h b/include/wx/gtk1/gauge.h index 6d2152338a..0f41210a76 100644 --- a/include/wx/gtk1/gauge.h +++ b/include/wx/gtk1/gauge.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gauge.h +// Name: wx/gtk1/gauge.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -28,7 +28,7 @@ class WXDLLIMPEXP_CORE wxGauge; // global data //----------------------------------------------------------------------------- -extern WXDLLIMPEXP_CORE const wxChar* wxGaugeNameStr; +extern WXDLLIMPEXP_CORE const wxChar wxGaugeNameStr[]; //----------------------------------------------------------------------------- // wxGaugeBox @@ -71,10 +71,10 @@ public: int GetValue() const; bool IsVertical() const { return HasFlag(wxGA_VERTICAL); } - + static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - + // implementation // ------------- @@ -82,11 +82,6 @@ public: int m_rangeMax, m_gaugePos; - // obsolete functions, don't use -#if WXWIN_COMPATIBILITY_2_2 - bool GetProgressBar() const { return true; } -#endif // WXWIN_COMPATIBILITY_2_2 - protected: // common part of all ctors void Init() { m_rangeMax = m_gaugePos = 0; }