X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..c24fd8883fd563b85477fd71b70a52f34eebdd3e:/include/wx/mac/carbon/gauge.h?ds=sidebyside

diff --git a/include/wx/mac/carbon/gauge.h b/include/wx/mac/carbon/gauge.h
index 4eb5db3a69..3db68bebe8 100644
--- a/include/wx/mac/carbon/gauge.h
+++ b/include/wx/mac/carbon/gauge.h
@@ -12,20 +12,15 @@
 #ifndef _WX_GAUGE_H_
 #define _WX_GAUGE_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "gauge.h"
-#endif
-
 #include "wx/control.h"
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
+WXDLLIMPEXP_DATA_CORE(extern const char) wxGaugeNameStr[];
 
 // Group box
-class WXDLLEXPORT wxGauge: public wxGaugeBase
+class WXDLLIMPEXP_CORE wxGauge: public wxGaugeBase
 {
-  DECLARE_DYNAMIC_CLASS(wxGauge)
  public:
-  inline wxGauge() { m_rangeMax = 0; m_gaugePos = 0; }
+  inline wxGauge() { }
 
   inline wxGauge(wxWindow *parent, wxWindowID id,
            int range,
@@ -46,21 +41,15 @@ class WXDLLEXPORT wxGauge: public wxGaugeBase
            const wxValidator& validator = wxDefaultValidator,
            const wxString& name = wxGaugeNameStr);
 
-  void SetShadowWidth(int w);
-  void SetBezelFace(int w);
-  void SetRange(int r);
-  void SetValue(int pos);
-
-  int GetShadowWidth() const ;
-  int GetBezelFace() const ;
-  int GetRange() const ;
-  int GetValue() const ;
+    // set gauge range/value
+    virtual void SetRange(int range);
+    virtual void SetValue(int pos);
+    virtual int  GetValue() const ;
 
-  virtual void Command(wxCommandEvent& WXUNUSED(event)) {} ;
+    void Pulse();
 
  protected:
-   int      m_rangeMax;
-   int      m_gaugePos;
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxGauge)
 };
 
 #endif