]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/list.h
generic template must not carry linkage clause
[wxWidgets.git] / include / wx / list.h
index c17823a71baafdf0974d3ad7afef47b4630da84f..ab36a45db25b2893f0666a6628f1c9cb19df69f1 100644 (file)
@@ -862,7 +862,7 @@ private:
             while (n < size())                                              \
                 pop_back();                                                 \
             while (n > size())                                              \
-                push_back();                                                \
+                push_back(v);                                                \
         }                                                                   \
         size_type size() const { return GetCount(); }                       \
         size_type max_size() const { return INT_MAX; }                      \