How to detect closing of wx.Panel?

Jacol jgrzebyta at NO.gazeta.pl.SPAM
Sun Feb 18 20:18:11 EST 2007


Hi everybody,

I have poblem with detecting closing of wx.Panel by user. How to detect that
event?

The wx.EVT_CLOSE event concerns wx.Frame class only. Neither Close() nor
Destroy() aren't executed if the event occurs (if user close a panel). Thus
extanding these both methods doesn't make sens (I've tested that).

With many thanks &
Best wishes,
Jacek



More information about the Python-list mailing list