[wxPython] saving data at app shutdown

I want to save some data like window position and size when my app shuts
down. I tried EVT_CLOSE(func) on the frame, and then calling self.Close()
from within func, but the frame just never closes down. What would be the
right way to do this?

I want to save some data like window position and size when my app shuts
down. I tried EVT_CLOSE(func) on the frame, and then calling self.Close()
from within func, but the frame just never closes down. What would be the
right way to do this?

Use self.Destroy() or just use event.Skip() so the default handler in the
base class will still be called.

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!