event.SetInt( combo->GetSelection() );
event.SetString( combo->GetStringSelection() );
event.SetEventObject( combo );
+
combo->GetEventHandler()->ProcessEvent( event );
}
GtkWidget *list_item = gtk_list_item_new_with_label( item.mbc_str() );
+ gtk_container_add( GTK_CONTAINER(list), list_item );
+
gtk_signal_connect( GTK_OBJECT(list_item), "select",
GTK_SIGNAL_FUNC(gtk_combo_clicked_callback), (gpointer)this );
- gtk_container_add( GTK_CONTAINER(list), list_item );
-
if (GTK_WIDGET_REALIZED(m_widget))
{
gtk_widget_realize( list_item );
event.SetInt( combo->GetSelection() );
event.SetString( combo->GetStringSelection() );
event.SetEventObject( combo );
+
combo->GetEventHandler()->ProcessEvent( event );
}
GtkWidget *list_item = gtk_list_item_new_with_label( item.mbc_str() );
+ gtk_container_add( GTK_CONTAINER(list), list_item );
+
gtk_signal_connect( GTK_OBJECT(list_item), "select",
GTK_SIGNAL_FUNC(gtk_combo_clicked_callback), (gpointer)this );
- gtk_container_add( GTK_CONTAINER(list), list_item );
-
if (GTK_WIDGET_REALIZED(m_widget))
{
gtk_widget_realize( list_item );