X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45eb5249574b0f1f50db5e6a7eb5bba43fd99cb9..3baaf31317b1380ba9f33f8a23ff04bd20356d63:/src/gtk1/window.cpp diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 2b79315b3d..e9f5e00cbb 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -683,9 +683,6 @@ static long map_to_wx_keysym( GdkEventKey *event ) case GDK_F11: key_code = WXK_F11; break; case GDK_F12: key_code = WXK_F12; break; default: - { - if (event->length == 1) - { if (event->length == 1) { key_code = (unsigned char)*event->string; @@ -694,7 +691,6 @@ static long map_to_wx_keysym( GdkEventKey *event ) { key_code = (guint)keysym; } - } } return key_code;