]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ctrlsub.cpp
fixes for new lib dirs for wxMSW
[wxWidgets.git] / src / common / ctrlsub.cpp
index 9a7ec228e30ff3bf159bbafa4e9c1529d5cf58c3..03be03f3dc1cc17287d09e967425192fe5cef4bc 100644 (file)
@@ -58,6 +58,15 @@ wxString wxItemContainer::GetStringSelection() const
     return s;
 }
 
+wxArrayString wxItemContainer::GetStrings() const
+{
+    wxArrayString result ;
+    size_t count = GetCount() ;
+    for ( size_t n = 0 ; n < count ; n++ )
+        result.Add(GetString(n));
+    return result ;
+}
+
 // ----------------------------------------------------------------------------
 // appending items
 // ----------------------------------------------------------------------------