X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b8b72b506722713f33cd35379f1395aceee786a..e276acb530f41f0b87c4576c0215201a8a767dff:/include/wx/list.h diff --git a/include/wx/list.h b/include/wx/list.h index 3a261249ee..b8cc07ea84 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -468,7 +468,7 @@ private: wxListBase *m_list; // list we belong to - DECLARE_NO_COPY_CLASS(wxNodeBase) + wxDECLARE_NO_COPY_CLASS(wxNodeBase); }; // ----------------------------------------------------------------------------- @@ -1019,13 +1019,13 @@ private: void insert(const iterator& it, size_type n, const_reference v) \ { \ for(size_type i = 0; i < n; ++i) \ - Insert(it.m_node, (const_base_reference)v); \ + insert(it, v); \ } \ void insert(const iterator& it, \ const_iterator first, const const_iterator& last) \ { \ for(; first != last; ++first) \ - Insert(it.m_node, (const_base_reference)*first); \ + insert(it, *first); \ } \ iterator erase(const iterator& it) \ { \