John Salerno wrote: > I'm using the sample code of the file 'simple.py' and trying to make a > single window with a panel in it, but I keep getting an error. Here's my > code: (I know I might need something else, like a Show() method for the > panel, but the error stops on the first panel line anyway. I've tried a > Layout() method but it didn't get that far). > > import wx > > class MyFrame(wx.Frame): > > def __init__(self, parent, title): > wx.Frame.__init__(self, parent, -1, title) > > panel = wx.Panel(self)
hint: in python, indentation matters. </F> -- http://mail.python.org/mailman/listinfo/python-list