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:
@@ -216,7 +216,7 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
|
||||
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 );
|
||||
@@ -225,7 +225,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 (int i = 0; i < n; i++)
|
||||
{
|
||||
if ( i != 0 )
|
||||
@@ -551,7 +551,7 @@ void wxRadioBox::ApplyToolTip( GtkTooltips *tips, const wxChar *tip )
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user