Add KeyEvent method for setting the m_uniChar member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
aaa6f9ba6b
commit
267985181a
@ -1330,6 +1330,17 @@ function is only meaningfule in a Unicode build of wxPython.", "");
|
||||
}
|
||||
%pythoncode { GetUniChar = GetUnicodeKey }
|
||||
|
||||
%extend {
|
||||
DocStr(
|
||||
SetUnicodeKey,
|
||||
"Set the Unicode value of the key event, but only if this is a Unicode
|
||||
build of wxPython.", "");
|
||||
void SetUnicodeKey(int uniChar) {
|
||||
%#if wxUSE_UNICODE
|
||||
self->m_uniChar = uniChar;
|
||||
%#endif
|
||||
}
|
||||
}
|
||||
|
||||
DocDeclStr(
|
||||
wxUint32 , GetRawKeyCode() const,
|
||||
|
Loading…
Reference in New Issue
Block a user