]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/gauge.h
continued spinning committed
[wxWidgets.git] / include / wx / gtk1 / gauge.h
index 47606768003477f372702e03a20ad74eebec5640..5652b6b5cbc0c31798aac0e982ab2ae694d76c13 100644 (file)
@@ -77,6 +77,9 @@ public:
 
     bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
     
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+    
     // implementation
     // -------------
 
@@ -87,8 +90,8 @@ public:
         m_gaugePos;
 
     // obsolete functions, don't use
-#ifdef WXWIN_COMPATIBILITY_2_2
-    bool GetProgressBar() const { return TRUE; }
+#if WXWIN_COMPATIBILITY_2_2
+    bool GetProgressBar() const { return true; }
 #endif // WXWIN_COMPATIBILITY_2_2
 
 protected:
@@ -98,6 +101,10 @@ protected:
     // set the gauge value to the value of m_gaugePos
     void DoSetGauge();
 
+    virtual wxSize DoGetBestSize() const;
+
+    virtual wxVisualAttributes GetDefaultAttributes() const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxGauge)
 };