]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dialog.cpp
corrected version in the libraries names: it's only 2 digits even in development...
[wxWidgets.git] / src / gtk / dialog.cpp
index 2d37fd8b8e442d0aaddafb674f6ffb18c0faf82b..75b82b73030aa0bc4ea476636bee4002c1841c9c 100644 (file)
@@ -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;