Reset wxDialog::m_modality sooner in wxOSX.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 May 2012 20:29:29 +0000 (20:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 May 2012 20:29:29 +0000 (20:29 +0000)
commit4be7f29aa78cfbef2c3cdf9ace99b0bab93ebcf3
tree9d1900dc5fd85b8fd1a89ef3c7d1b51119a60022
parentabf99aad2d70e680cdfe0ad72842c9b10e50045a
Reset wxDialog::m_modality sooner in wxOSX.

Change the internal flag to wxDIALOG_MODALITY_NONE before sending
wxEVT_WINDOW_MODAL_DIALOG_CLOSED event. This ensures that if the dialog is
shown again from this event handler it works correctly.

Closes #13951.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/dialog_osx.cpp