From 511ec447433523457eb8bf8cbf4319bd0fea4361 Mon Sep 17 00:00:00 2001 From: Catalin Date: Sun, 5 Mar 2017 15:39:31 +0200 Subject: [PATCH] Remove old checks AW_XXX MAPVK_VK_TO_CHAR TME_LEAVE WM_MOUSELEAVE --- src/msw/window.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 8f426d89ca..61d86df378 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -121,27 +121,10 @@ #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 +#if wxUSE_DYNLIB_CLASS #define HAVE_TRACKMOUSEEVENT #endif // everything needed for TrackMouseEvent() -#ifndef MAPVK_VK_TO_CHAR - #define MAPVK_VK_TO_CHAR 2 -#endif - // --------------------------------------------------------------------------- // global variables // ---------------------------------------------------------------------------