OnChar and GLCanvas: 2.6.3 OK, 2.8.5 not working

Paul Melis paul at science.uva.nl
Mon Oct 1 06:22:58 PDT 2007


Vadim Zeitlin wrote:

>On Fri, 28 Sep 2007 14:16:55 +0200 Paul Melis <paul at science.uva.nl> wrote:
>
>PM> I can't seem to get any key events in a certain app, but even the 
>PM> isosurf sample in the distribution seems to have the same problem.
>PM> 
>PM> Symptoms:
>PM> - Compile isosurf example with 2.6.3. Run, click on GLCanvas widget to 
>PM> give it focus. Pressing left/right arrow keys correctly rotates the model.
>PM> - Compile with 2.8.5. Run, click widget. No response whatsoever to any 
>PM> keypress. The event handler simply seems does not seem to get called.
>
> Also, if you can try the trunk as well, please do it and
>let us know about the results there.
>  
>
I just compiled and tested a checkout of the trunk of today. The cube 
opengl example seems to react fine to keyboard input (nice dice, b.t.w. 
;-)).
The isosurf and penguin examples seem to be outdated w.r.t. some new way 
of using wxGLContext by the looks of it. They compile with lots of 
warnings and crash in wxGLContext::wxGLContext(). I can't directly 
compare to the previous isosurf run on wx 2.8.5, but the cube on 2.9-svn 
seems to suggest that keyboard input is now working correctly.

Paul




More information about the wx-users mailing list