]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/window.cpp
[ 1572220 ] Show popup when wxComboCtrl image area clicked
[wxWidgets.git] / src / dfb / window.cpp
index 121ffb80a5bcd85a1f6de709c41836d713004b41..4839e08f65363f8e2d4a3f0e375fa5dd0174b7b0 100644 (file)
@@ -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);