X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/305329c2f18dc3db4148d9206b0f123176920168..fc9361e3ec5b81a7e8c32d93a03aea0b2cd3e045:/src/gtk/fontpicker.cpp diff --git a/src/gtk/fontpicker.cpp b/src/gtk/fontpicker.cpp index bc24c2e8d8..6719a53aa9 100644 --- a/src/gtk/fontpicker.cpp +++ b/src/gtk/fontpicker.cpp @@ -60,9 +60,6 @@ bool wxFontButton::Create( wxWindow *parent, wxWindowID id, { if (!gtk_check_version(2,4,0)) { - m_needParent = true; - m_acceptsFocus = true; - if (!PreCreation( parent, pos, size ) || !wxControl::CreateBase(parent, id, pos, size, style, validator, name)) { @@ -85,7 +82,7 @@ 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( GTK_WIDGET(m_widget) ); + gtk_widget_show(m_widget); // GtkFontButton signals g_signal_connect(m_widget, "font-set",