#include "wx/defs.h"
#include "wx/string.h"
-#if !wxUSE_STL
+#if !wxUSE_STD_CONTAINERS
#include "wx/object.h"
#else
- class WXDLLIMPEXP_BASE wxObject;
+ class WXDLLIMPEXP_FWD_BASE wxObject;
#endif
// the default size of the hash
// for some compilers (AIX xlC), defining it as friend inside the class is not
// enough, so provide a real forward declaration
-class WXDLLIMPEXP_BASE wxHashTableBase;
+class WXDLLIMPEXP_FWD_BASE wxHashTableBase;
class WXDLLIMPEXP_BASE wxHashTableBase_Node
{
- friend class WXDLLIMPEXP_BASE wxHashTableBase;
- typedef class WXDLLIMPEXP_BASE wxHashTableBase_Node _Node;
+ friend class WXDLLIMPEXP_FWD_BASE wxHashTableBase;
+ typedef class WXDLLIMPEXP_FWD_BASE wxHashTableBase_Node _Node;
public:
wxHashTableBase_Node( long key, void* value,
wxHashTableBase* table );
};
class WXDLLIMPEXP_BASE wxHashTableBase
-#if !wxUSE_STL
+#if !wxUSE_STD_CONTAINERS
: public wxObject
#endif
{
- friend class WXDLLIMPEXP_BASE wxHashTableBase_Node;
+ friend class WXDLLIMPEXP_FWD_BASE wxHashTableBase_Node;
public:
typedef wxHashTableBase_Node Node;
bool m_deleteContents;
private:
- DECLARE_NO_COPY_CLASS(wxHashTableBase)
+ wxDECLARE_NO_COPY_CLASS(wxHashTableBase);
};
// ----------------------------------------------------------------------------
class WXDLLIMPEXP_BASE wxHashTable_Node : public wxHashTableBase_Node
{
- friend class WXDLLIMPEXP_BASE wxHashTable;
+ friend class WXDLLIMPEXP_FWD_BASE wxHashTable;
public:
wxHashTable_Node( long key, void* value,
wxHashTableBase* table )
// and this one does exactly the same thing but should be used inside the
// library
#define WX_DECLARE_EXPORTED_HASH(el, list, hash) \
- _WX_DECLARE_HASH(el, list, hash, class WXDLLEXPORT)
+ _WX_DECLARE_HASH(el, list, hash, class WXDLLIMPEXP_CORE)
#define WX_DECLARE_USER_EXPORTED_HASH(el, list, hash, usergoo) \
_WX_DECLARE_HASH(el, list, hash, class usergoo)