From 777b7537c1d602e2d5575fe52d1597cae9feafe2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 8 Jan 2016 23:13:25 +0100 Subject: [PATCH] Change WXK_SPECIALx constants to follow the other WXK_XXX values These constants were defined in the middle of the wxKeyCode enum, value-wise, which made it difficult to end new elements to the enum as they could clash with the existing ones if they were simply added at the end. --- include/wx/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index ceba1f7d40..59393e5e6a 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -2676,7 +2676,7 @@ enum wxKeyCode WXK_COMMAND = WXK_CONTROL, /* Hardware-specific buttons */ - WXK_SPECIAL1 = 193, + WXK_SPECIAL1 = WXK_WINDOWS_MENU + 2, /* Skip WXK_RAW_CONTROL if necessary */ WXK_SPECIAL2, WXK_SPECIAL3, WXK_SPECIAL4,