nested iterator classes must be dll-exported

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-03-23 01:01:50 +00:00
parent d14e03f5b7
commit d294c9db88

View File

@@ -145,7 +145,7 @@ private:
typedef elT _WX_LIST_ITEM_TYPE_##liT; \ typedef elT _WX_LIST_ITEM_TYPE_##liT; \
static void DeleteFunction( _WX_LIST_ITEM_TYPE_##liT X ); \ static void DeleteFunction( _WX_LIST_ITEM_TYPE_##liT X ); \
public: \ public: \
class compatibility_iterator \ decl compatibility_iterator \
{ \ { \
private: \ private: \
/* Workaround for broken VC6 nested class name resolution */ \ /* Workaround for broken VC6 nested class name resolution */ \
@@ -680,7 +680,7 @@ private:
{ \ { \
public: \ public: \
typedef nodetype Node; \ typedef nodetype Node; \
class compatibility_iterator \ classexp compatibility_iterator \
{ \ { \
public: \ public: \
compatibility_iterator(Node *ptr = NULL) : m_ptr(ptr) { } \ compatibility_iterator(Node *ptr = NULL) : m_ptr(ptr) { } \
@@ -773,7 +773,7 @@ private:
typedef base_value_type& base_reference; \ typedef base_value_type& base_reference; \
typedef const base_value_type& const_base_reference; \ typedef const base_value_type& const_base_reference; \
\ \
class iterator \ classexp iterator \
{ \ { \
typedef name list; \ typedef name list; \
public: \ public: \
@@ -813,7 +813,7 @@ private:
bool operator==(const itor& it) const \ bool operator==(const itor& it) const \
{ return it.m_node == m_node; } \ { return it.m_node == m_node; } \
}; \ }; \
class const_iterator \ classexp const_iterator \
{ \ { \
typedef name list; \ typedef name list; \
public: \ public: \
@@ -856,7 +856,7 @@ private:
bool operator==(const itor& it) const \ bool operator==(const itor& it) const \
{ return it.m_node == m_node; } \ { return it.m_node == m_node; } \
}; \ }; \
class reverse_iterator \ classexp reverse_iterator \
{ \ { \
typedef name list; \ typedef name list; \
public: \ public: \
@@ -895,7 +895,7 @@ private:
bool operator==(const itor& it) const \ bool operator==(const itor& it) const \
{ return it.m_node == m_node; } \ { return it.m_node == m_node; } \
}; \ }; \
class const_reverse_iterator \ classexp const_reverse_iterator \
{ \ { \
typedef name list; \ typedef name list; \
public: \ public: \