X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a93e7940bcc36a8671cafc7ec265e8d961dc070..d181e877b04950068cb809b0d3d1a911bea3de74:/interface/wx/list.h diff --git a/interface/wx/list.h b/interface/wx/list.h index bd35298d39..eae8cd2cf2 100644 --- a/interface/wx/list.h +++ b/interface/wx/list.h @@ -236,7 +236,7 @@ public: /** Clears the list and adds @a n items with value @a v to it. */ - void assign(size_type n, const_reference v = value_type()) \ + void assign(size_type n, const_reference v = value_type()); /** Returns the last item of the list. @@ -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.