projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Account for the margins used by Windows around status bar text.
[wxWidgets.git]
/
src
/
common
/
arrstr.cpp
diff --git
a/src/common/arrstr.cpp
b/src/common/arrstr.cpp
index 862519fe330d55b89b0f6f4c8db9c451fdd058d3..be461cc639ccd1a361631d4217c14e32c4520f4e 100644
(file)
--- a/
src/common/arrstr.cpp
+++ b/
src/common/arrstr.cpp
@@
-345,6
+345,14
@@
wxArrayString::insert(iterator it, const_iterator first, const_iterator last)
}
}
+void wxArrayString::resize(size_type n, value_type v)
+{
+ if ( n < m_nCount )
+ m_nCount = n;
+ else if ( n > m_nCount )
+ Add(v, n - m_nCount);
+}
+
// expand the array
void wxArrayString::SetCount(size_t count)
{