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

Robin Dunn robin at alldunn.com
Wed Apr 4 13:17:55 PDT 2007


Vadim Zeitlin wrote:

>  Ok, so my proposal doesn't look like a great idea. What about a bit
> different one: rename wxScrolledWindow to wxScrolledControl and typedef
> wxScrolledWindow to wxScrolledPanel (which would derive from wxPanel)?
> 
>  This would be backwards compatible but would still allow us to use
> scrolled windows not deriving from wxPanel for wxListMainWindow and
> similar. The only problem is that wxScrolledControl is a bad name as I
> don't think it should derive from wxControl (or should it?) but I don't
> have any other ideas about how to call it, the obvious wxScrolledWindow
> being already taken.

I think that this would be an acceptable migration, although I agree 
with the issue over the name.  Maybe something like wxScrolledCanvas? 
That indicates to me that it is more likely to be something that is 
drawn upon rather than being a container.

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





More information about the wx-dev mailing list