changes in keycodes between 2.6 and 2.8

Werner wrote:

Why not store the string values in your preference files?

Then do something along these lines:
  >>> import wx
  >>> wx.WXK_CONTROL
308
  >>> x = 'WXK_CONTROL'
  >>> getattr(wx, x)
308

···

----

or

>>> import wx
>>> s = 'wx.WXK_CONTROL'
>>> eval(s)
308
>>>

jmf