]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/combobox.cpp
Add RCS-ID and normalize whitespace.
[wxWidgets.git] / src / mac / carbon / combobox.cpp
index 63c256d52d4066d1fbb2e5cec5b173ab39945bcb..dddce8211e6a4d0140c138384bc6f00a5129bfe8 100644 (file)
@@ -345,8 +345,13 @@ bool wxComboBox::Create(wxWindow *parent,
     const wxValidator& validator,
     const wxString& name)
 {
-    return Create( parent, id, value, pos, size, 0, NULL,
-                   style, validator, name );
+    if ( !Create( parent, id, value, pos, size, 0, NULL,
+                   style, validator, name ) )
+        return false;
+
+    Append(choices);
+
+    return true;
 }
 
 bool wxComboBox::Create(wxWindow *parent,