X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/795c00bdccba346945bfea05725ef7050a29ea2a..a0af0d98b5bb65da9f6b64a90dc3cfb642ee188e:/src/motif/radiobox.cpp?ds=sidebyside diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index 62fb7e2b3d..774c4df47c 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -21,6 +21,7 @@ #include "wx/radiobox.h" #include "wx/utils.h" +#include "wx/arrstr.h" #ifdef __VMS__ #pragma message disable nosimpint @@ -157,6 +158,16 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title, return TRUE; } +bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title, + const wxPoint& pos, const wxSize& size, + const wxArrayString& choices, + int majorDim, long style, + const wxValidator& val, const wxString& name) +{ + wxCArrayString chs(choices); + return Create(parent, id, title, pos, size, chs.GetCount(), + chs.GetStrings(), majorDim, style, val, name); +} wxRadioBox::~wxRadioBox() {