]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gauge95.h
Block all events in wxSpinButton::SetValue etc.
[wxWidgets.git] / include / wx / msw / gauge95.h
index 052a7ae7129e8ada8cb597a6304d2e415c89b09c..70390a958444269bf652e811c37adacf88cc9400 100644 (file)
 #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 wxChar) wxGaugeNameStr[];
 
 // Group box
 class WXDLLEXPORT wxGauge95 : public wxGaugeBase
@@ -57,11 +51,16 @@ 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;
+
 protected:
-    virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
     virtual wxSize DoGetBestSize() const;
 
-
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxGauge95)
 };