]>
git.saurik.com Git - wxWidgets.git/blob - docs/doxygen/const_keymod.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: key modifiers
4 // Author: wxWidgets team
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
12 @page keymodifiers Key Modifiers
16 The following key modifier constants are defined:
23 wxMOD_CONTROL = 0x0002,
24 wxMOD_ALTGR = wxMOD_ALT | wxMOD_CONTROL,
27 #if defined(__WXMAC__) || defined(__WXCOCOA__)
28 wxMOD_CMD = wxMOD_META,
30 wxMOD_CMD = wxMOD_CONTROL,
36 Notice that @c wxMOD_CMD should be used instead of @c wxMOD_CONTROL
37 in portable code to account for the fact that although
38 @c Control modifier exists under Mac OS, it is not used for the same
39 purpose as under Windows or Unix there while the special Mac-specific
40 @c Command modifier is used in exactly the same way.