remove unnecessary gtk_widget_show(m_widget) calls, PostCreation() takes care of that

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2012-02-29 18:29:31 +00:00
parent 85f622694c
commit 78f89f920d
7 changed files with 0 additions and 8 deletions

View File

@@ -233,7 +233,6 @@ bool wxAnimationCtrl::Create( wxWindow *parent, wxWindowID id,
m_widget = gtk_image_new();
g_object_ref(m_widget);
gtk_widget_show(m_widget);
m_parent->DoAddChild( this );

View File

@@ -69,7 +69,6 @@ bool wxColourButton::Create( wxWindow *parent, wxWindowID id,
m_colour = col;
m_widget = gtk_color_button_new_with_color( m_colour.GetColor() );
g_object_ref(m_widget);
gtk_widget_show(m_widget);
// GtkColourButton signals
g_signal_connect(m_widget, "color-set",

View File

@@ -200,7 +200,6 @@ bool wxCollapsiblePane::Create(wxWindow *parent,
m_pPane = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize,
wxTAB_TRAVERSAL|wxNO_BORDER, wxS("wxCollapsiblePanePane"));
gtk_widget_show(m_widget);
m_parent->DoAddChild( this );
PostCreation(size);

View File

@@ -81,8 +81,6 @@ bool wxFontButton::Create( wxWindow *parent, wxWindowID id,
gtk_font_button_set_use_size(GTK_FONT_BUTTON(m_widget), usefont);
gtk_font_button_set_use_font(GTK_FONT_BUTTON(m_widget), usefont);
gtk_widget_show(m_widget);
// GtkFontButton signals
g_signal_connect(m_widget, "font-set",
G_CALLBACK(gtk_fontbutton_setfont_callback), this);

View File

@@ -82,7 +82,6 @@ bool wxHyperlinkCtrl::Create(wxWindow *parent, wxWindowID id,
m_widget = gtk_link_button_new("asdfsaf asdfdsaf asdfdsa");
g_object_ref(m_widget);
gtk_widget_show(m_widget);
// alignment
float x_alignment = 0.5;

View File

@@ -318,7 +318,6 @@ bool wxSlider::Create(wxWindow *parent,
else
m_widget = gtk_vbox_new(false, 0);
g_object_ref(m_widget);
gtk_widget_show( m_widget );
gtk_container_add( GTK_CONTAINER(m_widget), m_scale );
GtkWidget *box;

View File

@@ -415,7 +415,6 @@ bool wxWebViewWebKit::Create(wxWindow *parent,
/* Place the WebKitWebView in the GtkScrolledWindow */
gtk_container_add (GTK_CONTAINER (scrolled_window), web_view);
gtk_widget_show(m_widget);
gtk_widget_show(web_view);
g_signal_connect_after(web_view, "notify::load-status",