switching to assert

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2011-02-02 13:49:44 +00:00
parent 15f345aad3
commit f67a33e3ad

View File

@ -821,15 +821,15 @@ private:
ptrop \
itor& operator++() \
{ \
if (m_node) \
m_node = m_node->GetNext(); \
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
m_node = m_node->GetNext(); \
return *this; \
} \
const itor operator++(int) \
{ \
itor tmp = *this; \
if (m_node) \
m_node = m_node->GetNext(); \
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
m_node = m_node->GetNext(); \
return tmp; \
} \
itor& operator--() \
@ -874,15 +874,15 @@ private:
ptrop \
itor& operator++() \
{ \
if (m_node) \
m_node = m_node->GetNext(); \
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
m_node = m_node->GetNext(); \
return *this; \
} \
const itor operator++(int) \
{ \
itor tmp = *this; \
if (m_node) \
m_node = m_node->GetNext(); \
wxASSERT_MSG( m_node, wxT("uninitialized iterator") ); \
m_node = m_node->GetNext(); \
return tmp; \
} \
itor& operator--() \