From e3d1fc26b245a15757488c0769b960e74c67ecca Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 22 Nov 2008 14:36:32 +0000 Subject: [PATCH] fix wxList::resize description (fixes #10207) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/list.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/interface/wx/list.h b/interface/wx/list.h index 44311a3d37..eae8cd2cf2 100644 --- a/interface/wx/list.h +++ b/interface/wx/list.h @@ -369,9 +369,13 @@ public: /** Resizes the list. - If the the list is enlarges items with the value @e v are appended to the list. + + If the list is longer than @a n, then items are removed until the list + becomes long @a n. + If the list is shorter than @a n items with the value @a v are appended + to the list until the list becomes long @a n. */ - void resize(size_type n); + void resize(size_type n, value_type v = value_type()); /** Reverses the list. -- 2.45.2