Use __declspec(dllexport) instead of WXEXPORT in dll sample header.

This header can be included from non-wx code so we can't use wx symbols in it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-12-07 16:27:14 +00:00
parent c2ebca9b9c
commit 1acea7877b

View File

@ -16,9 +16,9 @@ extern "C" {
#endif
#ifdef MY_DLL_BUILDING
#define MY_DLL_DECL WXEXPORT
#define MY_DLL_DECL __declspec(dllexport)
#else
#define MY_DLL_DECL WXIMPORT
#define MY_DLL_DECL __declspec(dllimport)
#endif
// launch wx UI from some application that may or may not be written in wx