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 }
|
%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;
|
||||||
|
Loading…
Reference in New Issue
Block a user