X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/914ca1d826f4f901537f939a375ba0935b507173..b14ba1f11722aeb4e4dcd52a686f5a50335776a1:/src/gtk1/choice.cpp diff --git a/src/gtk1/choice.cpp b/src/gtk1/choice.cpp index a2fa3409c8..59d5402c12 100644 --- a/src/gtk1/choice.cpp +++ b/src/gtk1/choice.cpp @@ -569,7 +569,7 @@ int wxChoice::GtkAddHelper(GtkWidget *menu, int pos, const wxString& item) // it has to change. Adapted from Matt Ownby. InvalidateBestSize(); - gtk_signal_connect( GTK_OBJECT( menu_item ), "activate", + gtk_signal_connect_after( GTK_OBJECT( menu_item ), "activate", GTK_SIGNAL_FUNC(gtk_choice_clicked_callback), (gpointer*)this ); gtk_widget_show( menu_item );