Re: wxpython: another missing attribute

2006-06-09 Thread John Salerno
Morpheus wrote: > This becomes a local var, i.e. local to __init__. To make it an instance var > write > > self.text = wx.StaticText(panel, -1, 'Click results') Ah, more namespace trickery! Thanks! :) -- http://mail.python.org/mailman/listinfo/python-list

Re: wxpython: another missing attribute

2006-06-09 Thread Morpheus
"John Salerno" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ah, the object-oriented stuff is just so FUN! :) Here's my code, > followed by the error. I thought I was referring to the 'text' attribute > correctly, but it seems not. > > import wx > > > class InputForm(wx.Frame): > >