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:
parent
69b80d287d
commit
9446dc2642
1 changed files with 5 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
|
|||
class WXDLLEXPORT wxGaugeBase : public wxControl
|
||||
{
|
||||
public:
|
||||
wxGaugeBase() { }
|
||||
wxGaugeBase() { m_rangeMax = m_gaugePos = 0; }
|
||||
virtual ~wxGaugeBase();
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
|
|
@ -51,8 +51,11 @@ public:
|
|||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue