]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
Declare namespace std {} before using namespace std; for MetroWerks
[wxWidgets.git] / src / gtk1 / window.cpp
index 22fabb93567a963da4a83430adb6884ab7ab11b0..8878e9dbba83c51efaae9a80bd005ef1dbe78280 100644 (file)
@@ -967,6 +967,9 @@ static void wxFillOtherKeyEventFields(wxKeyEvent& event,
     event.m_scanCode = gdk_event->keyval;
     event.m_rawCode = (wxUint32) gdk_event->keyval;
     event.m_rawFlags = 0;
+#if wxUSE_UNICODE
+    event.m_uniChar = gdk_keyval_to_unicode(gdk_event->keyval);
+#endif
     event.m_x = x;
     event.m_y = y;
     event.SetEventObject( win );