]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gauge.h
fixing a few typos, wxAny copy constructor implementation, making wxAnyList available...
[wxWidgets.git] / include / wx / msw / gauge.h
index b3c434ae6ad0a0746acd59326ea88ef4b69abebc..69682c7afb9ee42a3e8d1bf0cdd96e98b47ee47b 100644 (file)
 
 #if wxUSE_GAUGE
 
-extern WXDLLEXPORT_DATA(const char) wxGaugeNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxGaugeNameStr[];
 
 // Group box
-class WXDLLEXPORT wxGauge : public wxGaugeBase
+class WXDLLIMPEXP_CORE wxGauge : public wxGaugeBase
 {
 public:
     wxGauge() { }
@@ -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)
 };