X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..09d8cc190df922a72d7dc9f9fdc3a51c037a3ca2:/include/wx/dlimpexp.h?ds=sidebyside diff --git a/include/wx/dlimpexp.h b/include/wx/dlimpexp.h index 8ca00d85ac..93fa16dd7f 100644 --- a/include/wx/dlimpexp.h +++ b/include/wx/dlimpexp.h @@ -6,7 +6,7 @@ * Created: 16.10.2003 (extracted from wx/defs.h) * RCS-ID: $Id$ * Copyright: (c) 2003 Vadim Zeitlin - * Licence: wxWidgets licence + * Licence: wxWindows licence */ /* @@ -77,7 +77,10 @@ # define WXMAKINGDLL_ODBC # define WXMAKINGDLL_DBGRID # define WXMAKINGDLL_HTML +# define WXMAKINGDLL_GL # define WXMAKINGDLL_XML +# define WXMAKINGDLL_XRC +# define WXMAKINGDLL_MEDIA #endif /* WXMAKINGDLL */ /* @@ -177,6 +180,22 @@ # define WXDLLIMPEXP_XML #endif +#ifdef WXMAKINGDLL_XRC +# define WXDLLIMPEXP_XRC WXEXPORT +#elif defined(WXUSINGDLL) +# define WXDLLIMPEXP_XRC WXIMPORT +#else /* not making nor using DLL */ +# define WXDLLIMPEXP_XRC +#endif + +#ifdef WXMAKINGDLL_MEDIA +# define WXDLLIMPEXP_MEDIA WXEXPORT +#elif defined(WXUSINGDLL) +# define WXDLLIMPEXP_MEDIA WXIMPORT +#else /* not making nor using DLL */ +# define WXDLLIMPEXP_MEDIA +#endif + /* for backwards compatibility, define suffix-less versions too */ #define WXDLLEXPORT WXDLLIMPEXP_CORE #define WXDLLEXPORT_DATA WXDLLIMPEXP_DATA_CORE