Re: wxPython: accessing wxFrame methods in __del__ fails

2005-03-24 Thread Alex VanderWoude
"Stephen Thorne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 24 Mar 2005 06:21:36 GMT, Alex VanderWoude <[EMAIL PROTECTED]> wrote: > > I am attempting to save my window's size and position when it closes. So I > > figured I'd put some code in the __del__() method: > > > >

Re: wxPython: accessing wxFrame methods in __del__ fails

2005-03-23 Thread Stephen Thorne
On Thu, 24 Mar 2005 06:21:36 GMT, Alex VanderWoude <[EMAIL PROTECTED]> wrote: > I am attempting to save my window's size and position when it closes. So I > figured I'd put some code in the __del__() method: > > from wxPython import * > class MyWindow(wxFrame): > def __init__(self, parent, id

wxPython: accessing wxFrame methods in __del__ fails

2005-03-23 Thread Alex VanderWoude
I am attempting to save my window's size and position when it closes. So I figured I'd put some code in the __del__() method: from wxPython import * class MyWindow(wxFrame): def __init__(self, parent, id=wxID_ANY, title=None, style=None): # Some stuff here. def __del__(self):