]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/event.h
implemented underlined text drawing for GTK2
[wxWidgets.git] / include / wx / event.h
index 9903f48925a04d2f55ab6b7aec7f274bee388471..e15b70b22539ffd2fc1287c5e25f54f9bbc99cd8 100644 (file)
@@ -886,6 +886,11 @@ public:
     // get the key code: an ASCII7 char or an element of wxKeyCode enum
     int GetKeyCode() const { return (int)m_keyCode; }
 
+#if wxUSE_UNICODE
+    // get the Unicode character corresponding to this key
+    wxChar GetUnicodeKey() const { return m_uniChar; }
+#endif // wxUSE_UNICODE
+
     // get the raw key code (platform-dependent)
     wxUint32 GetRawKeyCode() const { return m_rawCode; }