]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dll/my_dll.h
fix vertical mouse wheel event rotation value, sign was reversed in r74805
[wxWidgets.git] / samples / dll / my_dll.h
index 0ec954f22ca01e5d20f10c22408464ca9f0e773b..6ffc39e960b0346b342f59e09f6a056af07e1257 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     Sample showing how to use wx from a DLL
 // Author:      Vaclav Slavik
 // Created:     2009-12-03
-// RCS-ID:      $Id$
 // Copyright:   (c) 2009 Vaclav Slavik
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -16,9 +15,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