]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontdlg.cpp
no changes, just added a TODO comment
[wxWidgets.git] / src / gtk / fontdlg.cpp
index 50f971d7567d468367a417729e4c92c9091adeea..8cb4f89917ef712f03525c54952e4ddeb157dcaf 100644 (file)
@@ -98,6 +98,7 @@ bool wxFontDialog::DoCreate(wxWindow *parent)
 
     wxString m_message( _("Choose font") );
     m_widget = gtk_font_selection_dialog_new( wxGTK_CONV( m_message ) );
+    g_object_ref(m_widget);
 
     if (parent)
         gtk_window_set_transient_for(GTK_WINDOW(m_widget),