From b68c7a7150f280302ed1146f357c631695ec4def Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 15 Oct 2003 13:35:44 +0000 Subject: Added definitions of OEM keys in case not defined by system includes. --- win32/ScintillaWin.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index f6781cdd0..20f0cd4d9 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -331,6 +331,14 @@ static int InputCodePage() { return atoi(sCodePage); } +#ifndef VK_OEM_2 +static const VK_OEM_2=0xbf; +static const VK_OEM_3=0xc0; +static const VK_OEM_4=0xdb; +static const VK_OEM_5=0xdc; +static const VK_OEM_6=0xdd; +#endif + /** Map the key codes to their equivalent SCK_ form. */ static int KeyTranslate(int keyIn) { //PLATFORM_ASSERT(!keyIn); -- cgit v1.2.3