]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/list.h
use a common m_isInsideYield flag instead of static booleans in all ports; add a...
[wxWidgets.git] / interface / wx / list.h
index bd35298d39153a435a2da38fabbf0e2eb37ad08a..eae8cd2cf280f16a7eb7ab504f4c3d806348476b 100644 (file)
@@ -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.