]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontpicker.cpp
check for wxUSE_REARRANGECTRL being defined
[wxWidgets.git] / src / gtk / fontpicker.cpp
index 00b1181bc971559bdfc0fc4ff6db567f3c11afdb..b2cdb532e3bc8d11e4a69b46815c4b027f1f43d8 100644 (file)
@@ -66,6 +66,7 @@ bool wxFontButton::Create( wxWindow *parent, wxWindowID id,
     }
 
     m_widget = gtk_font_button_new();
+    g_object_ref(m_widget);
 
     // set initial font
     m_selectedFont = initial.IsOk() ? initial : *wxNORMAL_FONT;