show window from PostCreation() (which is called for the derived classes as well) instead of Create() (which is not)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-04-01 13:08:24 +00:00
parent 40452e0583
commit a433fbd51d
2 changed files with 10 additions and 6 deletions

View File

@@ -2732,9 +2732,6 @@ bool wxWindowGTK::Create( wxWindow *parent,
PostCreation();
if ( IsShown() )
gtk_widget_show( m_widget );
return TRUE;
}
@@ -2919,6 +2916,11 @@ void wxWindowGTK::PostCreation()
}
m_hasVMT = TRUE;
// unless the window was created initially hidden (i.e. Hide() had been
// called before Create()), we should show it at GTK+ level as well
if ( IsShown() )
gtk_widget_show( m_widget );
}
void wxWindowGTK::ConnectWidget( GtkWidget *widget )