// "activate"
//-----------------------------------------------------------------------------
+extern "C" {
static void gtk_choice_clicked_callback( GtkWidget *WXUNUSED(widget), wxChoice *choice )
{
if (g_isIdle)
GtkBin *bin = GTK_BIN( child->data );
if (!bin->child)
{
- selection = count:
+ selection = count;
break;
}
child = child->next;
choice->GetEventHandler()->ProcessEvent(event);
}
+}
//-----------------------------------------------------------------------------
// wxChoice
// 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 );