diff options
author | nyamatongwe <devnull@localhost> | 2003-10-15 13:35:44 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-10-15 13:35:44 +0000 |
commit | c1c88915e2d6cc6bb47ba2e72db8c186b8215df7 (patch) | |
tree | 7010ead773560881ec66406965ba0b016149acab | |
parent | b7ee673fc7fb3c45ff0fb7012f939d31ceecc65d (diff) | |
download | scintilla-mirror-c1c88915e2d6cc6bb47ba2e72db8c186b8215df7.tar.gz |
Added definitions of OEM keys in case not defined by system includes.
-rw-r--r-- | win32/ScintillaWin.cxx | 8 |
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); |