git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26545
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
PostCreation();
- if ( IsShown() )
- gtk_widget_show( m_widget );
-
return TRUE;
}
}
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 )
PostCreation();
- if ( IsShown() )
- gtk_widget_show( m_widget );
-
return TRUE;
}
}
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 )