X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68995f26e8cb57350ee1acde913106723e0b39c4..a0d8a3052817fef6eef27e9a6ab8802495a39db8:/src/gtk1/dialog.cpp?ds=inline diff --git a/src/gtk1/dialog.cpp b/src/gtk1/dialog.cpp index a2c3a2bf3e..822015862d 100644 --- a/src/gtk1/dialog.cpp +++ b/src/gtk1/dialog.cpp @@ -142,7 +142,7 @@ bool wxDialog::Create( wxWindow *parent, if (m_parent) m_parent->AddChild( this ); PostCreation(); - + gtk_widget_realize( m_widget ); gtk_signal_connect( GTK_OBJECT(m_widget), "size_allocate", @@ -337,7 +337,7 @@ void wxDialog::DoSetSize( int x, int y, int width, int height, int sizeFlags ) if ((m_x != old_x) || (m_y != old_y)) { /* m_sizeSet = FALSE; */ - gtk_widget_set_uposition( m_widget, m_x, m_y ); + gtk_widget_set_uposition( m_widget, m_x, m_y ); } } @@ -413,7 +413,7 @@ bool wxDialog::Show( bool show ) } wxWindow::Show( show ); - + if (show) InitDialog(); return TRUE; @@ -442,7 +442,7 @@ int wxDialog::ShowModal() wxFAIL_MSG( "wxDialog:ShowModal called twice" ); return GetReturnCode(); } - + Show( TRUE ); m_modalShowing = TRUE;