#ifndef __GTKGAUGEH__
#define __GTKGAUGEH__
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface
#endif
int GetRange() const;
int GetValue() const;
+ bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
+
// implementation
// -------------
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:
// set the gauge value to the value of m_gaugePos
void DoSetGauge();
+ virtual wxSize DoGetBestSize() const;
+
private:
DECLARE_DYNAMIC_CLASS(wxGauge)
};