X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..b2238cc3156f4e15e567d2218c88301bc2af9adb:/src/os2/dialog.cpp?ds=inline diff --git a/src/os2/dialog.cpp b/src/os2/dialog.cpp index 8a56bef583..0f299aaff5 100644 --- a/src/os2/dialog.cpp +++ b/src/os2/dialog.cpp @@ -147,7 +147,7 @@ void wxDialog::SetModal(bool WXUNUSED(bFlag)) wxDialog::~wxDialog() { - m_isBeingDeleted = true; + SendDestroyEvent(); // this will also reenable all the other windows for a modal dialog Show(false);