X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a0a15cf56c4bfde818e9d575fb662612e156c2f..059d234d4176165d975048eaa5436ef40af7d037:/src/gtk/mdi.cpp diff --git a/src/gtk/mdi.cpp b/src/gtk/mdi.cpp index 8e4a1eb6e7..9778056ad3 100644 --- a/src/gtk/mdi.cpp +++ b/src/gtk/mdi.cpp @@ -385,7 +385,7 @@ wxMDIClientWindow::~wxMDIClientWindow() // a call to gtk_mdi_page_change_callback with an invalid parent // (because gtk_mdi_page_change_callback expects a wxMDIClientWindow but // at that point of the dtor chain we are a simple wxWindow!) - g_signal_handlers_disconnect_by_func(m_widget, + g_signal_handlers_disconnect_by_func(m_widget, (gpointer)gtk_mdi_page_change_callback, GetParent()); }