X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a23c00470ee904d3958b4fec2b540bf119e28367..7f5d8b0085b0140f62fb49dd8a0e50ed895e4632:/contrib/include/wx/net/msg.h diff --git a/contrib/include/wx/net/msg.h b/contrib/include/wx/net/msg.h index 3350738898..4d487d34ec 100644 --- a/contrib/include/wx/net/msg.h +++ b/contrib/include/wx/net/msg.h @@ -9,19 +9,31 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "msg.h" #endif #ifndef _WX_MSG_H_ #define _WX_MSG_H_ +#ifdef WXMAKINGDLL_NETUTILS + #define WXDLLIMPEXP_NETUTILS WXEXPORT + #define WXDLLIMPEXP_DATA_NETUTILS(type) WXEXPORT type +#elif defined(WXUSINGDLL) + #define WXDLLIMPEXP_NETUTILS WXIMPORT + #define WXDLLIMPEXP_DATA_NETUTILS(type) WXIMPORT type +#else // not making nor using DLL + #define WXDLLIMPEXP_NETUTILS + #define WXDLLIMPEXP_DATA_NETUTILS(type) type +#endif + + /* * wxMailMessage * Encapsulates an email message */ -class wxMailMessage +class WXDLLIMPEXP_NETUTILS wxMailMessage { public: