methode for closing a MDIChildFrame

Hi,

can anyone tell me the methode which is called wenn the user (or wx)
closes a MDIChildFrame?
(hit on the cross button)
I only see __init__, Activate, Maximize, and Restore in
http://xoomer.virgilio.it/infinity77/wxPython/Widgets/wx.MDIChildFrame.html

thanks
joh

Haven't used MDIChildFrame, but I guess it would be done similarly to a wx.Frame.

When you hit the close/cross button an event is fired and you have to bind to that, e.g.

self.Bind(wx.EVT_CLOSE, self.OnCloseYourMDIhandler)

Werner

ยทยทยท

On 10/24/2011 11:32 AM, joh# wrote:

Hi,

can anyone tell me the methode which is called wenn the user (or wx)
closes a MDIChildFrame?
(hit on the cross button)
I only see __init__, Activate, Maximize, and Restore in
http://xoomer.virgilio.it/infinity77/wxPython/Widgets/wx.MDIChildFrame.html