evt_close and modal dialogs

Hi,

it's seems that EVT_CLOSE is not generated for modal dialogs
(wx.Dialog && showModal(). In other words I am able to close dialog by
clicking to the dialog buttons but not with 'X' in the window title.

Any idea how to fix it? Thanks! Martin

···

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Usually this happens when OnClose handler drops the event without processing.

HTH
Niki

···

On 10.02.2016 21:07, Martin Landa wrote:

Hi,

it's seems that EVT_CLOSE is not generated for modal dialogs
(wx.Dialog && showModal(). In other words I am able to close dialog by
clicking to the dialog buttons but not with 'X' in the window title.

Any idea how to fix it? Thanks! Martin