[wxPython-users] AttributeError:type object 'Panel' has no attribute 'setSizer'

Robin Dunn robin at alldunn.com
Sat Feb 23 15:56:22 PST 2008


Rakesh Sinha wrote:
> Changing it to self.SetSizer(grid1)
> 
> returns the following error.
> 
> AttributeError: 'LoginPanel' object has no attribute 'setSizer'
> 


Python is case-sensitive.  Try using a capital 'S'.


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





More information about the wxpython-users mailing list