X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/619f45aa8a5f7c3baadebb30c31d22399fe609a9..35c2acd4a81a3b41ced9253f744a00e64de2a423:/include/wx/clntdata.h?ds=sidebyside diff --git a/include/wx/clntdata.h b/include/wx/clntdata.h index dd208f111a..7653e09b36 100644 --- a/include/wx/clntdata.h +++ b/include/wx/clntdata.h @@ -20,9 +20,19 @@ #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 { @@ -80,6 +90,8 @@ private: wxShadowObjectFields m_fields; }; +#endif // wxABI_VERSION + // ---------------------------------------------------------------------------- // what kind of client data do we have?