// Single inheritance with one base class
#define IMPLEMENT_DYNAMIC_CLASS(name, basename) \
// Single inheritance with one base class
#define IMPLEMENT_DYNAMIC_CLASS(name, basename) \
{ return new name; } \
wxClassInfo name::ms_classInfo(wxT(#name), \
&basename::ms_classInfo, NULL, \
{ return new name; } \
wxClassInfo name::ms_classInfo(wxT(#name), \
&basename::ms_classInfo, NULL, \
// Multiple inheritance with two base classes
#define IMPLEMENT_DYNAMIC_CLASS2(name, basename1, basename2) \
// Multiple inheritance with two base classes
#define IMPLEMENT_DYNAMIC_CLASS2(name, basename1, basename2) \
{ return new name; } \
wxClassInfo name::ms_classInfo(wxT(#name), \
&basename1::ms_classInfo, \
&basename2::ms_classInfo, \
{ return new name; } \
wxClassInfo name::ms_classInfo(wxT(#name), \
&basename1::ms_classInfo, \
&basename2::ms_classInfo, \
#if defined(__WXDEBUG__) && wxUSE_GLOBAL_MEMORY_OPERATORS && wxUSE_DEBUG_NEW_ALWAYS
#define new new(__TFILE__,__LINE__)
#if defined(__WXDEBUG__) && wxUSE_GLOBAL_MEMORY_OPERATORS && wxUSE_DEBUG_NEW_ALWAYS
#define new new(__TFILE__,__LINE__)