[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] issue - not all wxevents are sent to wxWindow when pygame is displyed using wxWindow handle



Hi,
 
I am using pygame integrated with wxWindow (wxpython). As mentioned earlier in this mailing list regarding this type of integration pygame events are not working .
 i have impelmented window events (onChar, OnScroll) handlers and in the handlers pygame window is modified as if pygame window is handling the events. 
 
But i observed that all the window events like mouseMotion, PageDown and PageUp. are not being sent to wxWindow which will be sent normally if not integrated with pygame
 
We may need to handle  most of common events like pageDown/up etc in our application.
 
Has any one know  why this is happening ?Let me know  how I  can proceed further.
 
The integration procedure is  - after creating the wxWindow 
                                             setting sdl Env variables
                                              then calling pygame init
                                              pygame.display.set_mode(x,y)
 
Point here is  i am able to handle OnChar events only few like as i mentioned above those evetns are not sent to wxWindow.
 
I am using Wxpython 2.8.7 , pygame 1.8 and python 2.5 and os is windows xp
 
Thanks,
Madhubala