]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontpicker.cpp
Fix deprecating warning introduced in r72446.
[wxWidgets.git] / src / gtk / fontpicker.cpp
index b2cdb532e3bc8d11e4a69b46815c4b027f1f43d8..9aea074e1ace8f0c01a1c1d14e723f9370d605ca 100644 (file)
@@ -17,7 +17,7 @@
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#if wxUSE_FONTPICKERCTRL 
+#if wxUSE_FONTPICKERCTRL
 
 #include "wx/fontpicker.h"
 
@@ -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);