From 9ba7df22b0a5e9b10aec3db7128c90b5e5798991 Mon Sep 17 00:00:00 2001 From: Dan HorĂ¡k Date: Apr 14 2011 09:33:39 +0000 Subject: update patches --- diff --git a/wxGTK-2.8.11-dnd.patch b/wxGTK-2.8.11-dnd.patch deleted file mode 100644 index 9583a1e..0000000 --- a/wxGTK-2.8.11-dnd.patch +++ /dev/null @@ -1,46 +0,0 @@ -Index: src/gtk/dnd.cpp -=================================================================== ---- src/gtk/dnd.cpp (revision 65479) -+++ src/gtk/dnd.cpp (revision 65480) -@@ -946,21 +946,27 @@ - - void wxDropSource::UnregisterWindow() - { -- if (!m_widget) -- return; -+ if (m_widget) -+ { -+ g_signal_handlers_disconnect_by_func (m_widget, -+ (gpointer) source_drag_data_get, -+ this); -+ g_signal_handlers_disconnect_by_func (m_widget, -+ (gpointer) source_drag_data_delete, -+ this); -+ g_signal_handlers_disconnect_by_func (m_widget, -+ (gpointer) source_drag_begin, -+ this); -+ g_signal_handlers_disconnect_by_func (m_widget, -+ (gpointer) source_drag_end, -+ this); -+ } - -- g_signal_handlers_disconnect_by_func (m_widget, -- (gpointer) source_drag_data_get, -- this); -- g_signal_handlers_disconnect_by_func (m_widget, -- (gpointer) source_drag_data_delete, -- this); -- g_signal_handlers_disconnect_by_func (m_widget, -- (gpointer) source_drag_begin, -- this); -- g_signal_handlers_disconnect_by_func (m_widget, -- (gpointer) source_drag_end, -- this); -+ if (m_iconWindow) -+ { -+ g_signal_handlers_disconnect_by_func (m_iconWindow, -+ (gpointer) gtk_dnd_window_configure_callback, this); -+ } - } - - #endif diff --git a/wxGTK-2.8.12-test.patch b/wxGTK-2.8.12-test.patch new file mode 100644 index 0000000..2664872 --- /dev/null +++ b/wxGTK-2.8.12-test.patch @@ -0,0 +1,18 @@ +--- wxGTK-2.8.12.orig/tests/test.cpp 2011-03-22 13:18:05.000000000 +0100 ++++ wxGTK-2.8.12/tests/test.cpp 2011-04-14 10:35:44.000000000 +0200 +@@ -86,11 +86,11 @@ void TestApp::OnInitCmdLine(wxCmdLinePar + { wxCMD_LINE_SWITCH, _T("L"), _T("longlist"), + _T("list the test cases, do not run them"), + wxCMD_LINE_VAL_NONE, 0 }, +- { wxCMD_LINE_SWITCH, "d", "detail", +- "print the test case names, run them (not implemented)", ++ { wxCMD_LINE_SWITCH, _T("d"), _T("detail"), ++ _T("print the test case names, run them (not implemented)"), + wxCMD_LINE_VAL_NONE, 0 }, +- { wxCMD_LINE_SWITCH, "t", "timing", +- "print names and mesure running time of individual test, run them (not implemented)", ++ { wxCMD_LINE_SWITCH, _T("t"), _T("timing"), ++ _T("print names and mesure running time of individual test, run them (not implemented)"), + wxCMD_LINE_VAL_NONE, 0 }, + { wxCMD_LINE_PARAM, 0, 0, _T("REGISTRY"), wxCMD_LINE_VAL_STRING, + wxCMD_LINE_PARAM_OPTIONAL | wxCMD_LINE_PARAM_MULTIPLE },