]> git.saurik.com Git - wxWidgets.git/commitdiff
define AW_XXX constants if SDK doesn't (fixes VC6 compilation, patch 1840451)
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Nov 2007 19:03:07 +0000 (19:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Nov 2007 19:03:07 +0000 (19:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 31a35b51c7f7baee38db43dd73b86d9bb5265d74..0666271639ee3f3309c45f0258de9ca9f55026e3 100644 (file)
     #define ETS_ASSIST          7
 #endif
 
+// define the constants used by AnimateWindow() if our SDK doesn't have them
+#ifndef AW_CENTER
+    #define AW_HOR_POSITIVE 0x00000001
+    #define AW_HOR_NEGATIVE 0x00000002
+    #define AW_VER_POSITIVE 0x00000004
+    #define AW_VER_NEGATIVE 0x00000008
+    #define AW_CENTER       0x00000010
+    #define AW_HIDE         0x00010000
+    #define AW_ACTIVATE     0x00020000
+    #define AW_SLIDE        0x00040000
+    #define AW_BLEND        0x00080000
+#endif
+
 #if defined(TME_LEAVE) && defined(WM_MOUSELEAVE) && wxUSE_DYNLIB_CLASS
     #define HAVE_TRACKMOUSEEVENT
 #endif // everything needed for TrackMouseEvent()