From ae3ac32d72f28fd0d8340660bbe44e1b5f605395 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 5 Sep 2008 10:24:39 +0000 Subject: [PATCH] removed unnceessary gtk_window_set_transient_for() call already done by gtk_message_dialog_new() itself git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/msgdlg.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gtk/msgdlg.cpp b/src/gtk/msgdlg.cpp index b71806be72..bbeed8884e 100644 --- a/src/gtk/msgdlg.cpp +++ b/src/gtk/msgdlg.cpp @@ -178,10 +178,6 @@ void wxMessageDialog::GTKCreateMsgDialog() gtk_dialog_add_button(dlg, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); } #endif // wxUSE_LIBHILDON - - // VZ: isn't this done by GTK+ itself? - if (parent) - gtk_window_set_transient_for(GTK_WINDOW(m_widget), parent); } int wxMessageDialog::ShowModal() -- 2.50.0