[wxPython-users] changes in keycodes between 2.6 and 2.8

Robin Dunn robin at alldunn.com
Thu Dec 28 11:51:42 PST 2006


Franz Steinhaeusler wrote:
> Hello NG,
> 
> my DrPython keyboard shortcuts are not working anymore.
> 
> There are changes between 2.6 and 2.8 in numerous keycodes.
> For example left cursor it was 316 and now it is 314.

Don't use the numbers.  Use the wx.WXK_* constants that already exist.

> 
> Is there a table anywhere to see, what keycodes have changed?

WXK_NEXT and WXK_PRIOR were made equivalent to WXK_PAGEDOWN and 
WXK_PAGEUP, so everything after that spot in the enum had their values 
changed.

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





More information about the wxpython-users mailing list