Got rid of some wierd VisualAge debug nonsense that had appeared in this after the last update????
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -57,11 +57,6 @@ wxClassInfo wxObject::sm_classwxObject((wxChar *) wxT("wxObject"), (wxChar *) NU
|
|||||||
wxClassInfo* wxClassInfo::sm_first = (wxClassInfo *) NULL;
|
wxClassInfo* wxClassInfo::sm_first = (wxClassInfo *) NULL;
|
||||||
wxHashTable* wxClassInfo::sm_classTable = (wxHashTable*) NULL;
|
wxHashTable* wxClassInfo::sm_classTable = (wxHashTable*) NULL;
|
||||||
|
|
||||||
#if defined(__WXDEBUG__) && defined(__VISAGECPP__)
|
|
||||||
int wxObject::N = 0; // total number of objects
|
|
||||||
int wxObject::Nid = 0;// object serial counter
|
|
||||||
#endif // __WXDEBUG__
|
|
||||||
|
|
||||||
// These are here so we can avoid 'always true/false' warnings
|
// These are here so we can avoid 'always true/false' warnings
|
||||||
// by referring to these instead of TRUE/FALSE
|
// by referring to these instead of TRUE/FALSE
|
||||||
const bool wxTrue = TRUE;
|
const bool wxTrue = TRUE;
|
||||||
@@ -77,12 +72,6 @@ wxObject::wxObject()
|
|||||||
#if wxUSE_SERIAL
|
#if wxUSE_SERIAL
|
||||||
m_serialObj = (wxObject_Serialize *)NULL;
|
m_serialObj = (wxObject_Serialize *)NULL;
|
||||||
#endif
|
#endif
|
||||||
#if defined(__WXDEBUG__) && defined(__VISAGECPP__)
|
|
||||||
id = Nid++;
|
|
||||||
N++;
|
|
||||||
// { printf("wxObject %i/%i \t",id,N);
|
|
||||||
// }
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxObject::~wxObject()
|
wxObject::~wxObject()
|
||||||
@@ -92,11 +81,6 @@ wxObject::~wxObject()
|
|||||||
if (m_serialObj)
|
if (m_serialObj)
|
||||||
delete m_serialObj;
|
delete m_serialObj;
|
||||||
#endif
|
#endif
|
||||||
#if defined(__WXDEBUG__) && defined(__VISAGECPP__)
|
|
||||||
N--;
|
|
||||||
// { printf("~wxObject %i/%i \t",id,N);
|
|
||||||
// }
|
|
||||||
#endif //__WXDEBUG__
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user