Changeset 2784

Show
Ignore:
Timestamp:
02/05/2007 06:30:11 AM (2 years ago)
Author:
paul
Message:

Backported commit 2628 to stable.

Original change note:
The keyChar value in the EventData? dictionary was not getting set properly in Gtk. This fixes that problem, and should also fix Tracker #0272, involving the Intellisense failure to work on openSuSE systems.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/stable/dabo/ui/uiwx/__init__.py

    r2580 r2784  
    374374        ed["hasModifiers"] = wxEvt.HasModifiers() 
    375375        try: 
    376             if wx.Platform == "__WXMAC__"
     376            if wx.Platform in ("__WXMAC__", "__WXGTK__")
    377377                ed["keyChar"] = chr(wxEvt.GetKeyCode()) 
    378378            else: