> The "g" key works fine, the grid is shown/hidden when you
> hit this key. I'm having the same problem in my
> application, I can not show the grid for some reason, and
> it seems to me that these 2 problems are related.
The is NOT any key_press_event. So there is no manually binding of char
events (in my understanding). Moreover, I can click many times in the WX
window (as you suggested), but the binding of the "g" char is never activated
on the following demos:
- embedding_in_wx2.py
- wxcursor_demo.py
For the embedding_in_wx.py demo, you are right, John. You have to click
on the WX window in order to get the "g" behavior, that works.
I don't really know why you need to click on the window to activate the
char binding... probably Robin Dunn may have an answer to this problem.