aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-10-15 13:35:44 +0000
committernyamatongwe <unknown>2003-10-15 13:35:44 +0000
commitb68c7a7150f280302ed1146f357c631695ec4def (patch)
tree7010ead773560881ec66406965ba0b016149acab
parente94462190f65dd99841786c650dc01fcdc830503 (diff)
downloadscintilla-mirror-b68c7a7150f280302ed1146f357c631695ec4def.tar.gz
Added definitions of OEM keys in case not defined by system includes.
-rw-r--r--win32/ScintillaWin.cxx8
1 files changed, 8 insertions, 0 deletions
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);