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