use NULL for NULL pointers, not 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2007-11-22 13:34:34 +00:00
parent b2e10daccc
commit b4c26503d3

View File

@ -2338,7 +2338,7 @@ wxImageHandler *wxImage::FindHandler( const wxString& name )
node = node->GetNext();
}
return 0;
return NULL;
}
wxImageHandler *wxImage::FindHandler( const wxString& extension, long bitmapType )
@ -2352,7 +2352,7 @@ wxImageHandler *wxImage::FindHandler( const wxString& extension, long bitmapType
return handler;
node = node->GetNext();
}
return 0;
return NULL;
}
wxImageHandler *wxImage::FindHandler( long bitmapType )
@ -2364,7 +2364,7 @@ wxImageHandler *wxImage::FindHandler( long bitmapType )
if (handler->GetType() == bitmapType) return handler;
node = node->GetNext();
}
return 0;
return NULL;
}
wxImageHandler *wxImage::FindHandlerMime( const wxString& mimetype )
@ -2376,7 +2376,7 @@ wxImageHandler *wxImage::FindHandlerMime( const wxString& mimetype )
if (handler->GetMimeType().IsSameAs(mimetype, false)) return handler;
node = node->GetNext();
}
return 0;
return NULL;
}
void wxImage::InitStandardHandlers()