event.SetInt( rb->GetSelection() );
event.SetString( rb->GetStringSelection() );
event.SetEventObject( rb );
- rb->GetEventHandler()->ProcessEvent(event);
+ rb->HandleWindowEvent(event);
}
}
// never stop the signal emission, it seems to break the kbd handling
// inside the radiobox
- (void)win->GetEventHandler()->ProcessEvent( event );
+ (void)win->HandleWindowEvent( event );
}
return FALSE;
unsigned int num_of_cols = GetColumnCount();
unsigned int num_of_rows = GetRowCount();
- GtkRadioButton *m_radio = (GtkRadioButton*) NULL;
+ GtkRadioButton *m_radio = NULL;
GtkWidget *table = gtk_table_new( num_of_rows, num_of_cols, FALSE );
gtk_table_set_col_spacings( GTK_TABLE(table), 1 );
gtk_container_add( GTK_CONTAINER(m_widget), table );
wxString label;
- GSList *radio_button_group = (GSList *) NULL;
+ GSList *radio_button_group = NULL;
for (int i = 0; i < n; i++)
{
if ( i != 0 )
while (node)
{
GtkWidget *widget = GTK_WIDGET( node->GetData() );
- gtk_tooltips_set_tip( tips, widget, wxConvCurrent->cWX2MB(tip), (gchar*) NULL );
+ gtk_tooltips_set_tip( tips, widget, wxConvCurrent->cWX2MB(tip), NULL );
node = node->GetNext();
}
}
wxFocusEvent event( wxEVT_KILL_FOCUS, GetId() );
event.SetEventObject( this );
- (void)GetEventHandler()->ProcessEvent( event );
+ (void)HandleWindowEvent( event );
}
if (g_delayedFocus == this)