File 0001-Avoid-Gtk-Message-GtkDialog-mapped-without-a-transie.patch of Package wxWidgets-3_0
From eb4aab5639579264c5de62f662e0562d3d4aad80 Mon Sep 17 00:00:00 2001
From: Paul Cornett <paulcor@users.noreply.github.com>
Date: Tue, 21 Apr 2015 21:44:35 -0700
Subject: [PATCH] Avoid "Gtk-Message: GtkDialog mapped without a transient
parent", closes #16863
---
src/gtk/filedlg.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gtk/filedlg.cpp b/src/gtk/filedlg.cpp
index 44087dd..609436a 100644
--- a/src/gtk/filedlg.cpp
+++ b/src/gtk/filedlg.cpp
@@ -192,7 +192,8 @@ bool wxFileDialog::Create(wxWindow *parent, const wxString& message,
const wxSize& sz,
const wxString& name)
{
- parent = GetParentForModalDialog(parent, style);
+ // wxFD_MULTIPLE has the same value as wxDIALOG_NO_PARENT
+ parent = GetParentForModalDialog(parent, style & ~wxFD_MULTIPLE);
if (!wxFileDialogBase::Create(parent, message, defaultDir, defaultFileName,
wildCard, style, pos, sz, name))
--
2.7.0