X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6900d12d6986dc23ab5efb689405ea21d52d41be..259c43f679ca655362b5a439e11c87fc0666d663:/include/wx/clntdata.h?ds=sidebyside diff --git a/include/wx/clntdata.h b/include/wx/clntdata.h index 7653e09b36..3390864857 100644 --- a/include/wx/clntdata.h +++ b/include/wx/clntdata.h @@ -12,10 +12,6 @@ #ifndef _WX_CLNTDATAH__ #define _WX_CLNTDATAH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "clntdata.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/hashmap.h" @@ -166,10 +162,11 @@ protected: }; -// 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 +#include "wx/vector.h" struct WXDLLIMPEXP_BASE wxClientDataDictionaryPair { @@ -179,7 +176,11 @@ 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