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:
@@ -214,7 +214,7 @@ wxString CLASSNAME::GetName() const \
|
||||
{ \
|
||||
return wxS(#EDITOR); \
|
||||
} \
|
||||
wxPGEditor* wxPGEditor_##EDITOR = (wxPGEditor*) NULL;
|
||||
wxPGEditor* wxPGEditor_##EDITOR = NULL;
|
||||
|
||||
|
||||
//
|
||||
@@ -434,7 +434,7 @@ public:
|
||||
// Editor class registeration macro (mostly for internal use)
|
||||
|
||||
#define wxPGRegisterEditorClass(EDITOR) \
|
||||
if ( wxPGEditor_##EDITOR == (wxPGEditor*) NULL ) \
|
||||
if ( wxPGEditor_##EDITOR == NULL ) \
|
||||
{ \
|
||||
wxPGEditor_##EDITOR = wxPropertyGrid::RegisterEditorClass( \
|
||||
new wxPG##EDITOR##Editor ); \
|
||||
|
Reference in New Issue
Block a user