X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/936a13b5015f87819f27aeca2cd232bedfe45106..b808efdb885aa82a6c34a8278119bae63c7f4183:/contrib/include/wx/gizmos/ledctrl.h?ds=sidebyside diff --git a/contrib/include/wx/gizmos/ledctrl.h b/contrib/include/wx/gizmos/ledctrl.h index a46cf53c10..4e5158fe3e 100644 --- a/contrib/include/wx/gizmos/ledctrl.h +++ b/contrib/include/wx/gizmos/ledctrl.h @@ -33,18 +33,18 @@ enum wxLEDValueAlign // wxLEDNumberCtrl // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_GIZMOS wxLEDNumberCtrl : public wxControl +class WXDLLIMPEXP_GIZMOS wxLEDNumberCtrl : public wxControl { public: // Constructors. wxLEDNumberCtrl(); - wxLEDNumberCtrl(wxWindow *parent, wxWindowID id = -1, + wxLEDNumberCtrl(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxLED_ALIGN_LEFT | wxLED_DRAW_FADED); // Create functions. - bool Create(wxWindow *parent, wxWindowID id = -1, + bool Create(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0); @@ -53,9 +53,9 @@ public: bool GetDrawFaded() const { return m_DrawFaded; } const wxString &GetValue() const { return m_Value; } - void SetAlignment(wxLEDValueAlign Alignment, bool Redraw = TRUE); - void SetDrawFaded(bool DrawFaded, bool Redraw = TRUE); - void SetValue(const wxString &Value, bool Redraw = TRUE); + void SetAlignment(wxLEDValueAlign Alignment, bool Redraw = true); + void SetDrawFaded(bool DrawFaded, bool Redraw = true); + void SetValue(const wxString &Value, bool Redraw = true); private: // Members.