#include "wx/string.h"
#include "wx/hashmap.h"
+#if wxABI_VERSION >= 20602
+
typedef int (*wxShadowObjectMethod)(void*, void*);
-WX_DECLARE_STRING_HASH_MAP( wxShadowObjectMethod, wxShadowObjectMethods );
-WX_DECLARE_STRING_HASH_MAP( void*, wxShadowObjectFields );
+WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
+ wxShadowObjectMethod,
+ wxShadowObjectMethods,
+ class WXDLLIMPEXP_BASE
+);
+WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
+ void *,
+ wxShadowObjectFields,
+ class WXDLLIMPEXP_BASE
+);
class WXDLLIMPEXP_BASE wxShadowObject
{
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>