X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2158f4d798650d7f8cc59ba36e115679b0effe1b..4b6930c81303eace9164234a5b5589e1904626eb:/src/gtk/dialog.cpp diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 2d37fd8b8e..75b82b7303 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -83,7 +83,7 @@ bool wxDialog::Show( bool show ) much ugly flicker nor from within the size_allocate handler, because GTK 1.1.X forbids that. */ - GtkOnSize( m_x, m_y, m_width, m_height ); + GtkOnSize(); } bool ret = wxWindow::Show( show ); @@ -118,7 +118,7 @@ int wxDialog::ShowModal() wxWindow *parent = wxTheApp->GetTopWindow(); if ( parent && parent != this && - parent->IsBeingDeleted() && + !parent->IsBeingDeleted() && !(parent->GetExtraStyle() & wxWS_EX_TRANSIENT) ) { m_parent = parent;