fix crash in wxWindowGTK::GTKHandleUnrealize(), closes #14752
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,6 +70,8 @@ wxMenuBar::~wxMenuBar()
|
|||||||
GtkWidget* widget = m_widget;
|
GtkWidget* widget = m_widget;
|
||||||
m_focusWidget =
|
m_focusWidget =
|
||||||
m_widget = NULL;
|
m_widget = NULL;
|
||||||
|
g_signal_handlers_disconnect_matched(widget,
|
||||||
|
GSignalMatchType(G_SIGNAL_MATCH_DATA), 0, 0, NULL, NULL, this);
|
||||||
g_object_unref(widget);
|
g_object_unref(widget);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user