X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9cb56f7f2fb75bce8722f81337253f5649325b9..8c23ed4e210434ceea7edaa45382fd749a0256db:/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); //