]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/gauge.h
Don't use wxUSE_POCKETPC_UI, determine appropriate UI from
[wxWidgets.git] / include / wx / gtk1 / gauge.h
index 47606768003477f372702e03a20ad74eebec5640..5ca47abcf643511403dfdb8e688878edcf52670f 100644 (file)
@@ -87,8 +87,8 @@ public:
         m_gaugePos;
 
     // obsolete functions, don't use
         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:
 #endif // WXWIN_COMPATIBILITY_2_2
 
 protected:
@@ -98,6 +98,8 @@ protected:
     // set the gauge value to the value of m_gaugePos
     void DoSetGauge();
 
     // set the gauge value to the value of m_gaugePos
     void DoSetGauge();
 
+    virtual wxSize DoGetBestSize() const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxGauge)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxGauge)
 };