Added GetUnicodeKey

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-06-28 19:27:06 +00:00
parent bbc5a00631
commit ba87052fcf

View File

@ -696,14 +696,16 @@ public:
%pythoncode { KeyCode = GetKeyCode } %pythoncode { KeyCode = GetKeyCode }
%extend { %extend {
int GetUniChar() { int GetUnicodeKey() {
%#if wxUSE_UNICODE %#if wxUSE_UNICODE
return self->m_uniChar; return self->GetUnicodeKey();
%#else %#else
return 0; return 0;
%#endif %#endif
} }
} }
%pythoncode { GetUniChar = GetUnicodeKey }
// get the raw key code (platform-dependent) // get the raw key code (platform-dependent)
wxUint32 GetRawKeyCode() const; wxUint32 GetRawKeyCode() const;