git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28816
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- gtk_signal_connect( GTK_OBJECT(menu->m_menu),
- "hide",
- GTK_SIGNAL_FUNC(gtk_pop_hide_callback),
- (gpointer)&is_waiting );
+ gulong handler = gtk_signal_connect( GTK_OBJECT(menu->m_menu),
+ "hide",
+ GTK_SIGNAL_FUNC(gtk_pop_hide_callback),
+ (gpointer)&is_waiting );
wxPoint pos;
gpointer userdata;
wxPoint pos;
gpointer userdata;
+ gtk_signal_disconnect(GTK_OBJECT(menu->m_menu), handler);
+
- gtk_signal_connect( GTK_OBJECT(menu->m_menu),
- "hide",
- GTK_SIGNAL_FUNC(gtk_pop_hide_callback),
- (gpointer)&is_waiting );
+ gulong handler = gtk_signal_connect( GTK_OBJECT(menu->m_menu),
+ "hide",
+ GTK_SIGNAL_FUNC(gtk_pop_hide_callback),
+ (gpointer)&is_waiting );
wxPoint pos;
gpointer userdata;
wxPoint pos;
gpointer userdata;
+ gtk_signal_disconnect(GTK_OBJECT(menu->m_menu), handler);
+