a simple example

Hello,

1) wx.Frame.__init__ you must pass the parent argument to the frame constructor

2) In python indentation determines scope the two lines at the end of OnInit need to be indented.

Cody

···

On Jul 24, 2008, at 6:30 PM, pradeep k wrote:

I just wrote my first program in wxPython. I get so many errors when i tried running it. Can somebody please tell me what's wrong in this code.

Best,
Pkri
<first.py>_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users