git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23812
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
class WXDLLEXPORT wxGaugeBase : public wxControl
{
public:
class WXDLLEXPORT wxGaugeBase : public wxControl
{
public:
+ wxGaugeBase() { m_rangeMax = m_gaugePos = 0; }
virtual ~wxGaugeBase();
bool Create(wxWindow *parent,
virtual ~wxGaugeBase();
bool Create(wxWindow *parent,
virtual void SetValue(int pos);
virtual int GetValue() const;
virtual void SetValue(int pos);
virtual int GetValue() const;
- // appearance params (not implemented for most ports)
+ // simple accessors
+ bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
+
+ // appearance params (not implemented for most ports)
virtual void SetShadowWidth(int w);
virtual int GetShadowWidth() const;
virtual void SetShadowWidth(int w);
virtual int GetShadowWidth() const;