projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed idle event processing in wxMotif.
[wxWidgets.git]
/
src
/
common
/
ctrlsub.cpp
diff --git
a/src/common/ctrlsub.cpp
b/src/common/ctrlsub.cpp
index 9a7ec228e30ff3bf159bbafa4e9c1529d5cf58c3..03be03f3dc1cc17287d09e967425192fe5cef4bc 100644
(file)
--- a/
src/common/ctrlsub.cpp
+++ b/
src/common/ctrlsub.cpp
@@
-58,6
+58,15
@@
wxString wxItemContainer::GetStringSelection() const
return s;
}
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
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// appending items
// ----------------------------------------------------------------------------