X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..e5805c0fde8bfabee79b155fbea761398efa4fc0:/include/wx/msw/gauge.h diff --git a/include/wx/msw/gauge.h b/include/wx/msw/gauge.h index ff9d42d151..69682c7afb 100644 --- a/include/wx/msw/gauge.h +++ b/include/wx/msw/gauge.h @@ -51,10 +51,7 @@ public: virtual bool SetForegroundColour(const wxColour& col); virtual bool SetBackgroundColour(const wxColour& col); - - void SetIndeterminateMode(); - void SetDeterminateMode(); - void Pulse(); + virtual void Pulse(); WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; @@ -64,6 +61,15 @@ public: protected: virtual wxSize DoGetBestSize() const; +private: + // returns true if the control is currently in indeterminate (a.k.a. + // "marquee") mode + bool IsInIndeterminateMode() const; + + // switch to/from indeterminate mode + void SetIndeterminateMode(); + void SetDeterminateMode(); + DECLARE_DYNAMIC_CLASS_NO_COPY(wxGauge) };