[ You'll probably eventually get this message twice, SF isn't talking to my
other SMTP server again...]
>
> > Is the panel given as the parent parameter for the text controls?
> >
>
> This is what it looks like with the wxTextCtrls:
>
> def OnPrefs(self, event):
> class optionFrame(wxFrame):
> def __init__(self, parent, ID, title, pos, size):
> wxFrame.__init__(self,parent, ID, title, pos,
wxSize(450,300))
> panel = wxPanel(self, -1,style=wxTAB_TRAVERSAL)
> sizer = wxBoxSizer(wxVERTICAL)
> panel.SetSizer(sizer)
> panel.SetAutoLayout(true)
> panel.transient = wxTextCtrl(self, wxNewId(), "", \
> wxPoint(col, row), wxSize(width, 20))
> panel.transient.SetInsertionPoint(0)
> panel.hopstolive = wxTextCtrl(self, wxNewId(), "",
\
···
> wxPoint(col, row+30), wxSize(width, 20))
> panel.hopstolive.SetInsertionPoint(0)
>Use panel instead of self for the first parameter in the wxTextCtrl calls.
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users