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:
Robert Roebling 2005-01-29 12:02:35 +00:00
parent dbc37e6880
commit 4ecd9342fd
2 changed files with 2 additions and 2 deletions

View File

@ -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 );
}

View File

@ -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 );
}