added IsVertical(); initialize members in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,7 +31,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
|
|||||||
class WXDLLEXPORT wxGaugeBase : public wxControl
|
class WXDLLEXPORT wxGaugeBase : public wxControl
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxGaugeBase() { }
|
wxGaugeBase() { m_rangeMax = m_gaugePos = 0; }
|
||||||
virtual ~wxGaugeBase();
|
virtual ~wxGaugeBase();
|
||||||
|
|
||||||
bool Create(wxWindow *parent,
|
bool Create(wxWindow *parent,
|
||||||
@@ -51,8 +51,11 @@ public:
|
|||||||
virtual void SetValue(int pos);
|
virtual void SetValue(int pos);
|
||||||
virtual int GetValue() const;
|
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 void SetShadowWidth(int w);
|
||||||
virtual int GetShadowWidth() const;
|
virtual int GetShadowWidth() const;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user