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

Vadim Zeitlin vadim at wxwidgets.org
Tue Aug 7 13:11:31 PDT 2007


On Tue, 07 Aug 2007 11:57:11 -0700 Robin Dunn <robin at alldunn.com> wrote:

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

 In fact they do now in trunk: we've recently changed wxTLW to be a control
container. So in the trunk it should work with wxMiniFrame too. But it
definitely doesn't in 2.8.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list