]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/choice.cpp
oops, more fixes needed
[wxWidgets.git] / src / msw / choice.cpp
index 3a5919592bb15fc0153a0c9135a91938010d686e..220f7c8cfd555c259865017f15d6ad3defe025b0 100644 (file)
@@ -151,6 +151,20 @@ bool wxChoice::Create(wxWindow *parent,
     return TRUE;
 }
 
+bool wxChoice::Create(wxWindow *parent,
+                      wxWindowID id,
+                      const wxPoint& pos,
+                      const wxSize& size,
+                      const wxArrayString& choices,
+                      long style,
+                      const wxValidator& validator,
+                      const wxString& name)
+{
+    wxCArrayString chs(choices);
+    return Create(parent, id, pos, size, chs.GetCount(), chs.GetStrings(),
+                  style, validator, name);
+}
+
 wxChoice::~wxChoice()
 {
     Free();