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:
Robin Dunn 2006-06-08 19:11:02 +00:00
parent aaa6f9ba6b
commit 267985181a

View File

@ -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,