X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ddb1b8a885db53006da4facfd3090de763d444b..1ed6bbc207af50ec0c21cdfecfe317d603fa747f:/src/dfb/window.cpp diff --git a/src/dfb/window.cpp b/src/dfb/window.cpp index cdbcfbdb9e..4839e08f65 100644 --- a/src/dfb/window.cpp +++ b/src/dfb/window.cpp @@ -862,7 +862,11 @@ static long GetTranslatedKeyCode(DFBInputDeviceKeyIdentifier key_id) KEY(DIKI_CONTROL_R, WXK_CONTROL); KEY(DIKI_ALT_L, WXK_ALT); KEY(DIKI_ALT_R, WXK_ALT); - KEY(DIKI_ALT_GR, 0); + // this key was removed in 0.9.25 but include it for previous versions + // just to avoid gcc warnings about unhandled enum value in switch +#if !wxCHECK_DFB_VERSION(0, 9, 24) + KEY(DIKI_ALTGR, 0); +#endif KEY(DIKI_META_L, 0); KEY(DIKI_META_R, 0); KEY(DIKI_SUPER_L, 0);