[wxPython-users] App.SetAppName & App.SetVendorName
Robin Dunn
robin at alldunn.com
Thu Feb 1 09:29:03 PST 2007
Joe Brown wrote:
> In wx2.6 this didn't cause an issue. Although I'm pretty sure it was
> never a good idea to write a sizer like this:
>
> self.panel = wx.Panel(self, -1)
> self.Sizer = wx.BoxSizer(wx.VERTICAL)
> self.Sizer.Add(self.panel, 1, wx.EXPAND)
> self.panel.SetSizer(self.Sizer)
You are right. A sizer should never contain the window that it belongs to.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list