X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..02b7b6b072762ff1e02950109a751815ac7429fd:/include/wx/os2/button.h diff --git a/include/wx/os2/button.h b/include/wx/os2/button.h index ebb18cc31c..1617192173 100644 --- a/include/wx/os2/button.h +++ b/include/wx/os2/button.h @@ -6,7 +6,7 @@ // Created: 10/13/99 // RCS-ID: $Id$ // Copyright: (c) David Webster -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_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();