From: Vadim Zeitlin Date: Sun, 12 Sep 2010 22:05:51 +0000 (+0000) Subject: Define MAPVK_VK_TO_CHAR to fix wxMSW compilation with old SDK headers. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7095bd60e207c6f2038c290078925b6549d03e5e?ds=inline Define MAPVK_VK_TO_CHAR to fix wxMSW compilation with old SDK headers. At least MinGW headers don't define this constant. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 332e309cde..c9015b7469 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -166,6 +166,10 @@ #define wxHAS_XBUTTON #endif +#ifndef MAPVK_VK_TO_CHAR + #define MAPVK_VK_TO_CHAR 2 +#endif + // --------------------------------------------------------------------------- // global variables // ---------------------------------------------------------------------------