]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gauge95.h
compilation fix for some build configurations (forward declare wxMenuItem)
[wxWidgets.git] / include / wx / msw / gauge95.h
index 6173f606153030a1584777405968643b6ee91ea9..d5952426202c1d7a7c8c64c9a8cc0253b9f7efbb 100644 (file)
 #ifndef _GAUGE95_H_
 #define _GAUGE95_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "gauge95.h"
-#endif
-
 #if wxUSE_GAUGE
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
+extern WXDLLEXPORT_DATA(const wxChar) wxGaugeNameStr[];
 
 // Group box
 class WXDLLEXPORT wxGauge95 : public wxGaugeBase
@@ -55,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)
 };