]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontpicker.cpp
remove unnecessary include of wx/cairo.h
[wxWidgets.git] / src / gtk / fontpicker.cpp
index 7eef011a453851b28b299b3a60a65605c29c97f5..9aea074e1ace8f0c01a1c1d14e723f9370d605ca 100644 (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);