X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9cb56f7f2fb75bce8722f81337253f5649325b9..88594d02eb59a55ac85d3210a49d02918124617b:/src/os2/dialog.cpp diff --git a/src/os2/dialog.cpp b/src/os2/dialog.cpp index a0b3fa7c7b..aff9dac015 100644 --- a/src/os2/dialog.cpp +++ b/src/os2/dialog.cpp @@ -157,7 +157,7 @@ wxDialog::~wxDialog() m_isBeingDeleted = TRUE; wxTopLevelWindows.DeleteObject(this); Show(FALSE); - if (!IsModal) + if (!IsModal()) wxModelessWindows.DeleteObject(this); //