compilation fix for g++ 3 (and probably others) after the last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-04-05 22:33:16 +00:00
parent bf0e8244d9
commit 7c2b62db91

View File

@ -239,6 +239,11 @@ public:
\
pointer m_ptr
// we need to declare const_iterator in wxStringImpl scope, the friend
// declaration inside iterator class itself is not enough, or at least not
// for g++ 3.4 (g++ 4 is ok)
class const_iterator;
class iterator
{
WX_DEFINE_STRINGIMPL_ITERATOR(iterator,