From 4b5e178a4c22caac92952131632641c63821fc0c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 22 Dec 2008 12:03:04 +0000 Subject: [PATCH] fix typo in r57455 which totally broke modal dialogs display (close #10291) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.45.2