One more place where we need to use connect_after
in order not to confuse GTK+. This fixes the wxTreeCtrl crash. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dbc37e6880
commit
4ecd9342fd
@ -2850,7 +2850,7 @@ void wxWindowGTK::PostCreation()
|
||||
gtk_signal_connect( GTK_OBJECT(m_focusWidget), "focus_in_event",
|
||||
GTK_SIGNAL_FUNC(gtk_window_focus_in_callback), (gpointer)this );
|
||||
|
||||
gtk_signal_connect( GTK_OBJECT(m_focusWidget), "focus_out_event",
|
||||
gtk_signal_connect_after( GTK_OBJECT(m_focusWidget), "focus_out_event",
|
||||
GTK_SIGNAL_FUNC(gtk_window_focus_out_callback), (gpointer)this );
|
||||
}
|
||||
|
||||
|
@ -2850,7 +2850,7 @@ void wxWindowGTK::PostCreation()
|
||||
gtk_signal_connect( GTK_OBJECT(m_focusWidget), "focus_in_event",
|
||||
GTK_SIGNAL_FUNC(gtk_window_focus_in_callback), (gpointer)this );
|
||||
|
||||
gtk_signal_connect( GTK_OBJECT(m_focusWidget), "focus_out_event",
|
||||
gtk_signal_connect_after( GTK_OBJECT(m_focusWidget), "focus_out_event",
|
||||
GTK_SIGNAL_FUNC(gtk_window_focus_out_callback), (gpointer)this );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user