[wxPython-users] wxpy 2.7 problem

Werner F. Bruhin werner.bruhin at free.fr
Sat Sep 23 02:53:01 PDT 2006


Robin Dunn wrote:

> m.prosperi at libero.it wrote:
>
>> I still have both wxpy2.6.3.3 and wxpy 2.7.0.0 on my machine with
>> their respective demos packages. In the KeyEvent sample I get KeyCode
>> 347 with 2.6.3.3 and KeyCode 345 with the 2.7 demo.
>
>
> Right, but does it display the correct F-key constant for each, or 
> does one of them display some other key name?


I see the same thing, on Windows XP with Python 2.5 final and wxPython 
2.7.0.1pre.20060909 I get:
Event Type    Key Name    Key Code    Modifiers    Unicode    
RawKeyCode    RawKeyFlags   
KeyDown    WXK_F6    345    ----    117    117    4194305       
Char    WXK_F6    345    ----    117    117    4194305       
KeyUp    WXK_F6    345    ----    117    117    3225419777       

And with Python 2.4 and wxPython 2.6.3 I get:
Event Type    Key Name    Key Code    Modifiers    Unicode    
RawKeyCode    RawKeyFlags   
KeyDown    WXK_F6    347    ----    0    117    4194305       
Char    WXK_F6    347    ----    0    117    4194305       
KeyUp    WXK_F6    347    ----    0    117    3225419777       

Werner




More information about the wxpython-users mailing list