From 1acea7877b0d14023fd11e71d4f0039f6aeb7739 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 7 Dec 2009 16:27:14 +0000 Subject: [PATCH] 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 --- samples/dll/my_dll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/dll/my_dll.h b/samples/dll/my_dll.h index 0ec954f22c..3b4c29bf7a 100644 --- a/samples/dll/my_dll.h +++ b/samples/dll/my_dll.h @@ -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 -- 2.50.0