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:
Vadim Zeitlin
2009-01-19 13:55:27 +00:00
parent c23b255ab4
commit d3b9f782ef
297 changed files with 1003 additions and 1003 deletions

View File

@@ -632,7 +632,7 @@ wxString wxFloatProperty::ValueToString( wxVariant& value,
value,
m_precision,
!(argFlags & wxPG_FULL_VALUE),
(wxString*) NULL);
NULL);
}
return text;
}
@@ -1266,7 +1266,7 @@ void wxFlagsProperty::Init()
wxFlagsProperty::wxFlagsProperty( const wxString& label, const wxString& name,
const wxChar** labels, const long* values, long value ) : wxPGProperty(label,name)
{
m_oldChoicesData = (wxPGChoicesData*) NULL;
m_oldChoicesData = NULL;
if ( labels )
{
@@ -1286,7 +1286,7 @@ wxFlagsProperty::wxFlagsProperty( const wxString& label, const wxString& name,
const wxArrayString& labels, const wxArrayInt& values, int value )
: wxPGProperty(label,name)
{
m_oldChoicesData = (wxPGChoicesData*) NULL;
m_oldChoicesData = NULL;
if ( &labels && labels.size() )
{
@@ -1306,7 +1306,7 @@ wxFlagsProperty::wxFlagsProperty( const wxString& label, const wxString& name,
wxPGChoices& choices, long value )
: wxPGProperty(label,name)
{
m_oldChoicesData = (wxPGChoicesData*) NULL;
m_oldChoicesData = NULL;
if ( choices.IsOk() )
{
@@ -2132,7 +2132,7 @@ bool wxArrayEditorDialog::Create( wxWindow *parent,
// Manipulator buttons
wxBoxSizer* colsizer = new wxBoxSizer( wxVERTICAL );
m_butCustom = (wxButton*) NULL;
m_butCustom = NULL;
if ( m_custBtText )
{
m_butCustom = new wxButton(this,28,::wxGetTranslation(m_custBtText));
@@ -2342,7 +2342,7 @@ wxPGArrayStringEditorDialog::wxPGArrayStringEditorDialog()
void wxPGArrayStringEditorDialog::Init()
{
m_pCallingClass = (wxArrayStringProperty*) NULL;
m_pCallingClass = NULL;
}
void wxPGArrayStringEditorDialog::OnCustomEditClick(wxCommandEvent& )