X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..7b4a652a8bf3da1b2dd20dd22c9e6db5dd03db59:/include/wx/mac/classic/button.h?ds=sidebyside diff --git a/include/wx/mac/classic/button.h b/include/wx/mac/classic/button.h index 824f0a9e44..b2afedf171 100644 --- a/include/wx/mac/classic/button.h +++ b/include/wx/mac/classic/button.h @@ -6,7 +6,7 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_BUTTON_H_ @@ -27,7 +27,8 @@ class WXDLLEXPORT wxButton: public wxButtonBase DECLARE_DYNAMIC_CLASS(wxButton) public: inline wxButton() {} - inline wxButton(wxWindow *parent, wxWindowID id, const wxString& label, + inline wxButton(wxWindow *parent, wxWindowID id, + const wxString& label = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, @@ -35,8 +36,9 @@ class WXDLLEXPORT wxButton: public wxButtonBase { Create(parent, id, label, pos, size, style, validator, name); } - - bool Create(wxWindow *parent, wxWindowID id, const wxString& label, + + bool Create(wxWindow *parent, wxWindowID id, + const wxString& label = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator,