1. added default constructors for wxString iterators
2. fixed assignment of iterator to iterator that points to a different string git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e6310bbc5a
commit
39c20230ba
3 changed files with 61 additions and 33 deletions
|
|
@ -198,6 +198,7 @@ public:
|
|||
typedef ptr_type pointer; \
|
||||
typedef int difference_type; \
|
||||
\
|
||||
iterator_name() : m_ptr(NULL) { } \
|
||||
iterator_name(pointer ptr) : m_ptr(ptr) { } \
|
||||
\
|
||||
reference operator*() const { return *m_ptr; } \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue