wxTopLevelWindows is now a wxWindowList, better compatibility with the old
wxList in list.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user