X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f7eb299f00935a2d83ed3443c3a18260bb02427..c0badae10089ea785072d739df817b1f5f05c088:/src/dfb/window.cpp?ds=sidebyside diff --git a/src/dfb/window.cpp b/src/dfb/window.cpp index 121ffb80a5..4839e08f65 100644 --- a/src/dfb/window.cpp +++ b/src/dfb/window.cpp @@ -862,6 +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); + // 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);