From a3db5254143fc289fa23b0902d979861d45da3e3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 26 Jun 2004 13:34:15 +0000 Subject: [PATCH] added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/event.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/wx/event.h b/include/wx/event.h index 9903f48925..e15b70b225 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -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; } -- 2.45.2