[wx-dev] [all] scrolled windows and panels
Julian Smart
julian at anthemion.co.uk
Thu Apr 5 01:13:31 PDT 2007
Hi,
In my StoryLines app I have a class derived from wxScrolledWindow which
for the most part doesn't have children, and must accept the focus. But
sometimes a temporary control will be created on the window to allow
text editing in situ. Which scrolled window would I choose? I guess
wxScrolledControl, so that it accepts focus, and I would have to deal
with tab traversal myself if required.
Couldn't we just have a style and/or accessor to change the tab
traversal behaviour? I do think that making the user choose between two
similarly-named classes is going to introduce undesirable complexity,
which I'd like to see avoided if possible. (I can see that deriving from
a panel is conceptual overkill in some cases, but the advantage is
simplicity of API and reduced confusing choice.)
Thanks,
Julian
More information about the wx-dev
mailing list