X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bdb8629f8031d59c3920978ef2133ea1c6e3532..571d14b2621325840e465e1e55be9f5a362a5dbd:/include/wx/motif/choice.h diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index 1636502e63..8a01c3cb23 100644 --- a/include/wx/motif/choice.h +++ b/include/wx/motif/choice.h @@ -46,6 +46,18 @@ public: Create(parent, id, pos, size, n, choices, style, validator, name); } + wxChoice(wxWindow *parent, wxWindowID id, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxChoiceNameStr) + { + Init(); + Create(parent, id, pos, size, choices, style, validator, name); + } + bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -54,6 +66,14 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr); + bool Create(wxWindow *parent, wxWindowID id, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxChoiceNameStr); + // implementation of wxControlWithItems virtual int GetCount() const; virtual int DoAppend(const wxString& item);