Added GetUnicodeKey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bbc5a00631
commit
ba87052fcf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user