]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/combobox.h
wxMenu::Append (and similar) now return a pointer to the wxMenuItem
[wxWidgets.git] / include / wx / msw / combobox.h
index 22793a67c827c42193abce428bd3b4393d03b691..a369165d75fae3812109200127966ad3b8febd31 100644 (file)
@@ -27,7 +27,7 @@
 class WXDLLEXPORT wxComboBox: public wxChoice
 {
 public:
-    wxComboBox();
+    wxComboBox() { }
 
     wxComboBox(wxWindow *parent, wxWindowID id,
             const wxString& value = wxEmptyString,
@@ -36,7 +36,10 @@ public:
             int n = 0, const wxString choices[] = NULL,
             long style = 0,
             const wxValidator& validator = wxDefaultValidator,
-            const wxString& name = wxComboBoxNameStr);
+            const wxString& name = wxComboBoxNameStr)
+    {
+        Create(parent, id, value, pos, size, n, choices, style, validator, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,