SYS : key error in gtk 3.0

This commit is contained in:
Edouard Dupin 2011-09-08 21:52:02 +02:00
parent d21d661f15
commit 650206f04e

View File

@ -1139,7 +1139,11 @@ void ConvertInput(GdkEventKey *event, char* Utf8Out, bool &controlKey, bool &mov
# endif # endif
key = '?'; key = '?';
break; break;
# ifdef USE_GTK_VERSION_3_0
case GDK_KEY_Caps_Lock:
# elif USE_GTK_VERSION_2_0
case GDK_Caps_Lock: case GDK_Caps_Lock:
# endif
controlKey = true; controlKey = true;
break; break;
default: default: