]> git.saurik.com Git - wxWidgets.git/commitdiff
fix typo in r57455 which totally broke modal dialogs display (close #10291)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Dec 2008 12:03:04 +0000 (12:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Dec 2008 12:03:04 +0000 (12:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dialog.cpp

index 6dc0d62e047c6bd24beb417b6641629c89648b9e..c7baa0359ce37bf8b3ff19df32e861ff0f200555 100644 (file)
@@ -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,