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
This commit is contained in:
parent
08060ee58f
commit
4b5e178a4c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user