From 214875504e4f16bdf2f492d82bd55454e830a5f5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 28 Nov 2007 19:03:07 +0000 Subject: [PATCH] define AW_XXX constants if SDK doesn't (fixes VC6 compilation, patch 1840451) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 31a35b51c7..0666271639 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -133,6 +133,19 @@ #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() -- 2.47.2