[wx-dev] [all] scrolled windows and panels

Julian Smart julian at anthemion.co.uk
Thu Apr 5 05:18:28 PDT 2007


Vadim Zeitlin wrote:
>  So I think we need to accept focus by default in wxPanel then and override
> wxPanel::AddChild() to check if it has more than one window accepting focus
> and call SetAcceptFocus(false) if it does. And, of course, also undo this
> in wxPanel::RemoveChild().
>
>  How does this sound?
>   
Sounds good to me!

Many thanks,

Julian





More information about the wx-dev mailing list