From a780a8dc191711b8290733ca0817e28eef6e7beb Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 30 Dec 2005 20:48:57 +0000 Subject: [PATCH] wxHotkeyModifier --> wxKeyModifier git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_defs.i | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/wxPython/src/_defs.i b/wxPython/src/_defs.i index 04c2c31fea..2247a50ce3 100644 --- a/wxPython/src/_defs.i +++ b/wxPython/src/_defs.i @@ -1128,27 +1128,18 @@ enum wxHitTest }; -%{ -#if ! wxUSE_HOTKEY -enum wxHotkeyModifier -{ - wxMOD_NONE = 0, - wxMOD_ALT = 1, - wxMOD_CONTROL = 2, - wxMOD_SHIFT = 4, - wxMOD_WIN = 8 -}; -#define wxEVT_HOTKEY 9999 -#endif -%} -enum wxHotkeyModifier +enum wxKeyModifier { - wxMOD_NONE = 0, - wxMOD_ALT = 1, - wxMOD_CONTROL = 2, - wxMOD_SHIFT = 4, - wxMOD_WIN = 8 + wxMOD_NONE, + wxMOD_ALT, + wxMOD_CONTROL, + wxMOD_ALTGR, + wxMOD_SHIFT, + wxMOD_META, + wxMOD_WIN, + wxMOD_CMD, + wxMOD_ALL };