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:
parent
c2ebca9b9c
commit
1acea7877b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user