wxKeyEvent an Unicode

wxPython 2.4.2.4 compiled with gtk2 & unicode
When I press non-latin letter (russian in my case) and get event EVT_CHAR, its metod GetKeyCode always return 0 for any (non-latin) key. It is any way to get this code?

I found in class wxKeyEvent in wxWindows member m_uniChar which contain unicode char of pressed button, but no any interface for this member in wxPython.

Thanks!

···

--
With best regards,
Alexander I. Evseev

Alexander I. Evseev wrote:

wxPython 2.4.2.4 compiled with gtk2 & unicode
When I press non-latin letter (russian in my case) and get event EVT_CHAR, its metod GetKeyCode always return 0 for any (non-latin) key. It is any way to get this code?

I found in class wxKeyEvent in wxWindows member m_uniChar which contain unicode char of pressed button, but no any interface for this member in wxPython.

That member is only in 2.5 and it is exposed to wxPython there.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn ???:

Alexander I. Evseev wrote:

wxPython 2.4.2.4 compiled with gtk2 & unicode
When I press non-latin letter (russian in my case) and get event
EVT_CHAR, its metod GetKeyCode always return 0 for any (non-latin)
key. It is any way to get this code?

I found in class wxKeyEvent in wxWindows member m_uniChar which
contain unicode char of pressed button, but no any interface for this
member in wxPython.

That member is only in 2.5 and it is exposed to wxPython there.

Is here any way to get national char code (not 0) in 2.4.2.4 ?

···

--
With best regards,
Alexander I. Evseev

Alexander I. Evseev wrote:

Robin Dunn ???:

Alexander I. Evseev wrote:

wxPython 2.4.2.4 compiled with gtk2 & unicode
When I press non-latin letter (russian in my case) and get event EVT_CHAR, its metod GetKeyCode always return 0 for any (non-latin) key. It is any way to get this code?

I found in class wxKeyEvent in wxWindows member m_uniChar which contain unicode char of pressed button, but no any interface for this member in wxPython.

That member is only in 2.5 and it is exposed to wxPython there.

Is here any way to get national char code (not 0) in 2.4.2.4 ?

Not that I know of.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!