X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da0f19f8a827ea41ee04cabbc9c25377f1476dd7..15f7c30516facfb272fc116aec4d3f9c3a9de085:/include/wx/msw/gauge95.h diff --git a/include/wx/msw/gauge95.h b/include/wx/msw/gauge95.h index 052a7ae712..26919abfd7 100644 --- a/include/wx/msw/gauge95.h +++ b/include/wx/msw/gauge95.h @@ -12,15 +12,9 @@ #ifndef _GAUGE95_H_ #define _GAUGE95_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "gauge95.h" -#endif - -#if wxUSE_SLIDER +#if wxUSE_GAUGE -#include "wx/control.h" - -WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr; +extern WXDLLEXPORT_DATA(const char) wxGaugeNameStr[]; // Group box class WXDLLEXPORT wxGauge95 : public wxGaugeBase @@ -57,11 +51,19 @@ public: virtual bool SetForegroundColour(const wxColour& col); virtual bool SetBackgroundColour(const wxColour& col); + + void SetIndeterminateMode(); + void SetDeterminateMode(); + void Pulse(); + + WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; + + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } + protected: - virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; virtual wxSize DoGetBestSize() const; - DECLARE_DYNAMIC_CLASS_NO_COPY(wxGauge95) };