]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/choice.cpp
Use a compatible bitmap if a depth of -1 is given
[wxWidgets.git] / src / mac / choice.cpp
index 55a9268e108486daed5eee2e83d1b3005e5b0921..a18113dbf37d7c3651c8e431ac2aab0abc1af36d 100644 (file)
@@ -38,6 +38,20 @@ wxChoice::~wxChoice()
     // DisposeMenu( m_macPopUpMenuHandle ) ;
 }
 
+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);
+}
+
 bool wxChoice::Create(wxWindow *parent, wxWindowID id,
            const wxPoint& pos,
            const wxSize& size,