X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9eee2db810695ae4417e9935475f268bb68bbac..02b7b6b072762ff1e02950109a751815ac7429fd:/include/wx/os2/button.h diff --git a/include/wx/os2/button.h b/include/wx/os2/button.h index ba408a4214..1617192173 100644 --- a/include/wx/os2/button.h +++ b/include/wx/os2/button.h @@ -39,6 +39,16 @@ class WXDLLEXPORT wxButton: public wxButtonBase ,rsName ); } + + wxButton(wxWindow *parent, wxWindowID id, wxStockItemID stock, + const wxString& descriptiveLabel = wxEmptyString, + const wxPoint& pos = wxDefaultPosition, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxButtonNameStr) + { + Create(parent, id, stock, descriptiveLabel, pos, style, validator, name); + } bool Create( wxWindow* pParent ,wxWindowID vId @@ -49,6 +59,17 @@ class WXDLLEXPORT wxButton: public wxButtonBase ,const wxValidator& rValidator = wxDefaultValidator ,const wxString& rsName = wxButtonNameStr ); + + bool Create(wxWindow *parent, wxWindowID id, wxStockItemID stock, + const wxString& descriptiveLabel = wxEmptyString, + const wxPoint& pos = wxDefaultPosition, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxButtonNameStr) + { + return CreateStock(parent, id, stock, descriptiveLabel, + pos, style, validator, name); + } virtual ~wxButton();