]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlsub.cpp
Fix wxListCtrl background colour bug Part I
[wxWidgets.git] / src / common / ctrlsub.cpp
index 1d8421d7287df0a26acfb06af9d7410fabebede1..aa0714d83f5c066ef3a2e5834913718efc6978f2 100644 (file)
 // implementation
 // ============================================================================
 
+wxItemContainer::~wxItemContainer()
+{
+    // this destructor is required for Darwin
+}
+
 // ----------------------------------------------------------------------------
 // selection
 // ----------------------------------------------------------------------------
@@ -52,6 +57,19 @@ wxString wxItemContainer::GetStringSelection() const
     return s;
 }
 
+// ----------------------------------------------------------------------------
+// appending items
+// ----------------------------------------------------------------------------
+
+void wxItemContainer::Append(const wxArrayString& strings)
+{
+    size_t count = strings.GetCount();
+    for ( size_t n = 0; n < count; n++ )
+    {
+        Append(strings[n]);
+    }
+}
+
 // ----------------------------------------------------------------------------
 // client data
 // ----------------------------------------------------------------------------