From ba87052fcf1525ab43277b5509132074853c3283 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 28 Jun 2004 19:27:06 +0000 Subject: [PATCH] Added GetUnicodeKey git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_event.i | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wxPython/src/_event.i b/wxPython/src/_event.i index 0ebaae3fac..dfeebbde88 100644 --- a/wxPython/src/_event.i +++ b/wxPython/src/_event.i @@ -696,14 +696,16 @@ public: %pythoncode { KeyCode = GetKeyCode } %extend { - int GetUniChar() { + int GetUnicodeKey() { %#if wxUSE_UNICODE - return self->m_uniChar; + return self->GetUnicodeKey(); %#else return 0; %#endif } } + %pythoncode { GetUniChar = GetUnicodeKey } + // get the raw key code (platform-dependent) wxUint32 GetRawKeyCode() const;