X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89424d9b35a32b6c450380d22dbb34268947644c..15cac64f7564d48c274c6490774a77bd8c09f808:/src/msw/dialog.cpp diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 6dc0d62e04..c7baa0359c 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -284,7 +284,7 @@ int wxDialog::ShowModal() // EndModal may have been called from InitDialog handler (called from // inside Show()) and hidden the dialog back again - if ( !IsShown() ) + if ( IsShown() ) { // enter and run the modal loop wxDialogModalDataTiedPtr modalData(&m_modalData,