X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6dd7ed8d761b48e506762b7e4a4c9b9bf2d79b5..8ba80c6f8325e61de2e3fc4bbd7cf3d750f432cd:/src/gtk/colordlg.cpp diff --git a/src/gtk/colordlg.cpp b/src/gtk/colordlg.cpp index 07623444a3..8300d82f83 100644 --- a/src/gtk/colordlg.cpp +++ b/src/gtk/colordlg.cpp @@ -53,6 +53,8 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data) m_widget = gtk_color_selection_dialog_new(wxGTK_CONV(title)); #endif // wxUSE_LIBHILDON/!wxUSE_LIBHILDON + g_object_ref(m_widget); + if ( parentGTK ) { gtk_window_set_transient_for(GTK_WINDOW(m_widget), parentGTK);