X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9cb56f7f2fb75bce8722f81337253f5649325b9..bb6de5ffad98697205287a04fe91ca73e7194709:/src/os2/dialog.cpp?ds=sidebyside 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); //