[wxPython] Advice on setting focus and events

Hi All-

I have an app that is a wxPanel that contains a sizer full of smaller panels (composed of various widgets). I want to be able to 'focus' on one of the smaller panels by left clicking or using the arrows. Right now it works with the arrows, but not with clicking.

Im under the assumption that in order to have focus follow clicks, I have to bind a method to every widget in the smaller panels (the small panel is covered by the widgets, so catching left click events in the smaller panel itself doesn't work because the widgets are getting the left click events first) and in that method call up to the wxPanel to set focus on that smaller panel. It seems kind of roundabout.... Is there an easier way for the panel to catch all clicks? I know that wxPyCommand events bubble up, but left clicks aren't wxPyCommands so I can't just Skip() them. (which seems like what I would want to do if it were possible....)

Any comments or suggestions?

thanks

matt

Search for FocusReflector in this list.

HTH
Niki Spahiev