X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e2a3778386d60356dab319afa2d3f987f86d6b2..f06832c1b6caae13c0bddf8f3a8aeb1114f4392b:/src/gtk/dialog.cpp diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index c61fbca515..dcdaec3cbe 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -99,7 +99,6 @@ void wxDialog::SetModal( bool WXUNUSED(flag) ) int wxDialog::ShowModal() { wxASSERT_MSG( !IsModal(), "ShowModal() can't be called twice" ); - wxASSERT_MSG( !IsShown(), "ShowModal() can't be called after Show()" ); // release the mouse if it's currently captured as the window having it // will be disabled when this dialog is shown -- but will still keep the