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
This commit is contained in:
@@ -178,10 +178,6 @@ void wxMessageDialog::GTKCreateMsgDialog()
|
|||||||
gtk_dialog_add_button(dlg, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
|
gtk_dialog_add_button(dlg, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
|
||||||
}
|
}
|
||||||
#endif // wxUSE_LIBHILDON
|
#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()
|
int wxMessageDialog::ShowModal()
|
||||||
|
Reference in New Issue
Block a user