]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/choice.cpp
Call Finalise.
[wxWidgets.git] / src / os2 / choice.cpp
index 6098b3afa471faf797745c9081ea096616bdc5b6..b980792934bc8a4037ee4f858c7e6517e05b1f48 100644 (file)
 
 IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
 
+bool wxChoice::Create(
+  wxWindow*                         pParent
+, wxWindowID                        vId
+, const wxPoint&                    rPos
+, const wxSize&                     rSize
+, const wxArrayString&              asChoices
+, long                              lStyle
+, const wxValidator&                rValidator
+, const wxString&                   rsName
+)
+{
+    wxCArrayString chs(asChoices);
+
+    return Create(pParent, vId, rPos, rSize, chs.GetCount(), chs.GetStrings(),
+                  lStyle, rValidator, rsName);
+}
+
 bool wxChoice::Create(
   wxWindow*                         pParent
 , wxWindowID                        vId