00001 /*======================================================================= 00002 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), *** 00003 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. *** 00004 *** *** 00005 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS *** 00006 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR *** 00007 *** WRITTEN AUTHORIZATION OF FEI S.A.S. *** 00008 *** *** 00009 *** RESTRICTED RIGHTS LEGEND *** 00010 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS *** 00011 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN *** 00012 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT *** 00013 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN *** 00014 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. *** 00015 *** *** 00016 *** COPYRIGHT (C) 1996-2020 BY FEI S.A.S, *** 00017 *** BORDEAUX, FRANCE *** 00018 *** ALL RIGHTS RESERVED *** 00019 **=======================================================================*/ 00020 /*======================================================================= 00021 ** Author : T.MEHAMLI (Jul 2007) 00022 **=======================================================================*/ 00023 00024 #ifndef SO_WX_KEYCOMPAT_H 00025 #define SO_WX_KEYCOMPAT_H 00026 00027 #define WXDEF_KEY_OFFSET 0x100 00028 00029 // Keypresses are represented by an enumerated type, wxKeyCode. 00030 // The possible values are the ASCII character codes, plus the ones in wx/defs.h. 00031 // These enums map ASCII character codes to WXK_XXX codes. 00032 00033 enum wxKeyCodeSoExt 00034 { 00035 // Number keys 00036 WXK_0 = 48, 00037 WXK_1, 00038 WXK_2, 00039 WXK_3, 00040 WXK_4, 00041 WXK_5, 00042 WXK_6, 00043 WXK_7, 00044 WXK_8, 00045 WXK_9 = 57, 00046 00047 // Alphabetic keys 00048 WXK_A = 65, 00049 WXK_B, 00050 WXK_C, 00051 WXK_D, 00052 WXK_E, 00053 WXK_F, 00054 WXK_G, 00055 WXK_H, 00056 WXK_I, 00057 WXK_J, 00058 WXK_K, 00059 WXK_L, 00060 WXK_M, 00061 WXK_N, 00062 WXK_O, 00063 WXK_P, 00064 WXK_Q, 00065 WXK_R, 00066 WXK_S, 00067 WXK_T, 00068 WXK_U, 00069 WXK_V, 00070 WXK_W, 00071 WXK_X, 00072 WXK_Y, 00073 WXK_Z = 90, 00074 00075 WXK_ASTERISK = 42, 00076 WXK_PLUS = 43, 00077 WXK_SEMICOLON = 59, 00078 WXK_EQUAL = 61, 00079 WXK_COMMA = 44, 00080 WXK_MINUS = 45, 00081 WXK_PERIOD = 46, 00082 WXK_SLASH = 47, 00083 WXK_GRAVE = 126, 00084 WXK_BRACKETLEFT = 91, 00085 WXK_BACKSLASH = 92, 00086 WXK_BRACKETRIGHT = 93, 00087 WXK_APOSTROPHE = 39 00088 }; 00089 00090 #endif // SO_WX_KEYCOMPAT_H 00091 00092