X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5751dd32c77946719c80a7e9e1a882a92f3eed51..af17155e907c863dbba2bbf1c6a91a083569404c:/include/wx/list.h diff --git a/include/wx/list.h b/include/wx/list.h index c17823a71b..2312ea4908 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -240,7 +240,9 @@ enum wxKeyType // due to circular header dependencies this function has to be declared here // (normally it's found in utils.h which includes itself list.h...) +#if WXWIN_COMPATIBILITY_2_4 extern WXDLLIMPEXP_BASE wxChar* copystring(const wxChar *s); +#endif class WXDLLEXPORT wxObjectListNode; typedef wxObjectListNode wxNode; @@ -862,7 +864,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; } \