Re: [doc-BUG] missing ScrolledPanel.SetAutoLayout()

Robin Dunn <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Mike Driscoll wrote:
>
>
> On Monday, April 6, 2015 at 7:50:44 AM UTC-5, [email protected] wrote:
>
>     On 2015-04-06 09:26 Werner <[email protected] <javascript:>> wrote:
>      > it is an inherited method from wx.Window.
>
>     It was just a bug report. :)
>
>
> It's not a bug though. Most of the widgets in wxPython inherit from
> other widgets, so you will need to know how to navigate up (or down) the
> inheritance tree to find all the methods. Here's a link to the wx.Window
> documentation:
>
> http://www.wxpython.org/docs/api/wx.Window-class.html

Also, strictly speaking, calling SetAutoLayout is not needed at all 
unless SetAutoLayout(False) has been called sometime since the sizer was 
assigned to the window.  Calling SetSizer will automatically set the 
autolayout flag as well.  I'll remove that line from the example.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.