From: minh t. <no...@gm...> - 2006-03-07 18:15:20
|
hi all, i've something like this WX.set tFrame [ layout :=3D fill $ widget tCanvas , on paintRaw :=3D display renderingFunc tCanvas , on (charKey 'p') :=3D putChar 'p' ] where the tCanvas is an OpenGL canvas. the window is open, the opengl rendering is done. when I hit the 'p' key, it displays it on the console, it's fine. but if I left (by clicking on another window (not a wx one)) the opengl window and go back to my wx opengl window, hitting the 'p' key doesn't do anything. why ? what must I do to correct that ? thanks a lot, vo minh thu |