]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gauge.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / msw / gauge.h
index ff9d42d151dbc40b17d8d1ee0a994a02d920be9d..ac820e99b7c0aeaf0070e3af071b420100cf17d7 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Julian Smart
 // Modified by:
 // Created:     01/02/97
-// RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -47,14 +46,11 @@ public:
     virtual void SetRange(int range);
     virtual void SetValue(int pos);
 
-    // overriden base class virtuals
+    // overridden base class virtuals
     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 +60,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)
 };