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

Robin Dunn robin at alldunn.com
Mon Apr 2 15:30:47 PDT 2007


Vadim Zeitlin wrote:
> On Mon, 02 Apr 2007 10:22:51 -0700 Robin Dunn <robin at alldunn.com> wrote:

> RD> but I think that there are still a lot of people that are just using
> RD> wx.ScrolledWindow instead to hold controls.
> 
>  What if we raised an assert when more than one (or more than 2?)
> child(ren) are added to wxScrolledWindow saying "use wxScrolledPanel as
> control container"? 

wxGrid would trigger that assert.  It has 4 children, one of which is 
its scroll target...


> Or are there valid reasons to use wxWindow (and not
> wxPanel) as children container?

Even if we can't think of any I expect that plenty of our users will 
have what they feel are very valid reasons.

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





More information about the wx-dev mailing list