X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/78e37b46a4c1581822bab8d99486bc35c0f360ea..5a3955662a0696b2a7d55a50d0cf4a63a6a3b2fa:/interface/wx/list.h 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.