DIKI_ALTGR was removed in DFB 0.9.25

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-28 14:02:52 +00:00
parent aa017eabe2
commit 7de1afbfd2

View File

@@ -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);