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