#include "wx/string.h"
#include "wx/hashmap.h"
+#if wxABI_VERSION >= 20602
+
typedef int (*wxShadowObjectMethod)(void*, void*);
WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
wxShadowObjectMethod,
wxShadowObjectFields m_fields;
};
+#endif // wxABI_VERSION
+
// ----------------------------------------------------------------------------
// what kind of client data do we have?
};
-// not Motif-specific, but currently used only under Motif
-#ifdef __WXMOTIF__
+// not Motif-specific, but currently used only under Motif,
+// compiled to make wxMotif and wxGTK base libraries compatible
+#if defined(__WXMOTIF__) || wxABI_VERSION >= 20602
-#include <wx/vector.h>
+#include "wx/vector.h"
struct WXDLLIMPEXP_BASE wxClientDataDictionaryPair
{
wxClientData* data;
};
-WX_DECLARE_VECTOR(wxClientDataDictionaryPair,wxClientDataDictionaryPairVector);
+_WX_DECLARE_VECTOR(
+ wxClientDataDictionaryPair,
+ wxClientDataDictionaryPairVector,
+ WXDLLIMPEXP_BASE
+);
// this class is used internally to maintain the association between items
// of (some subclasses of) wxControlWithItems and their client data