[Mac, 2.8.2] wxMiniFrame and reacting to TAB (focus changing)

Robin Dunn robin at alldunn.com
Tue Aug 7 11:57:11 PDT 2007


Yaron Tadmor wrote:
> Hi,
> 
> I noticed that the wxMiniFrame doesn't use the wxControlContainer to 
> handle the navigation and focus events caused by pressing TAB, as 
> opposed to dialog classes which do handle this.
> 
> Is this intentional? If I want the same TAB->"change focus" behavior, do 
> I need to derive from the wxControlContainer and delegate events to it?

Frames typically don't handle tab navigation.  You should instead put 
your controls on a wxPanel and put that in the miniframe.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-users mailing list