]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
mention wx[Flex]GridSizer too
[wxWidgets.git] / src / gtk / window.cpp
index 2b79315b3d629cdf471dafc6b13192abbf2c023e..e9f5e00cbb15dbe7c95db0e3c90072d2eb5c125d 100644 (file)
@@ -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;