don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -241,7 +241,7 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
|
||||
unsigned int num_of_cols = GetColumnCount();
|
||||
unsigned int num_of_rows = GetRowCount();
|
||||
|
||||
GtkRadioButton *rbtn = (GtkRadioButton*) NULL;
|
||||
GtkRadioButton *rbtn = NULL;
|
||||
|
||||
GtkWidget *table = gtk_table_new( num_of_rows, num_of_cols, FALSE );
|
||||
gtk_table_set_col_spacings( GTK_TABLE(table), 1 );
|
||||
@@ -250,7 +250,7 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
|
||||
gtk_container_add( GTK_CONTAINER(m_widget), table );
|
||||
|
||||
wxString label;
|
||||
GSList *radio_button_group = (GSList *) NULL;
|
||||
GSList *radio_button_group = NULL;
|
||||
for (unsigned int i = 0; i < (unsigned int)n; i++)
|
||||
{
|
||||
if ( i != 0 )
|
||||
|
||||
Reference in New Issue
Block a user