]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
Really fix recently broken accelerators handling in menu items.
[wxWidgets.git] / src / gtk / window.cpp
index fa02dbc397e8e835b669d1dfc837f3e07b910289..1e4523f340272f80d631e5f32598ee704218a08b 100644 (file)
@@ -729,7 +729,7 @@ static void wxFillOtherKeyEventFields(wxKeyEvent& event,
     }
 
     event.m_rawCode = (wxUint32) gdk_event->keyval;
-    event.m_rawFlags = 0;
+    event.m_rawFlags = gdk_event->hardware_keycode;
 
     wxGetMousePosition( &x, &y );
     win->ScreenToClient( &x, &y );