bool wxDebugContext::PrintList (void)
{
#ifdef __WXDEBUG__
- TraverseList ((PmSFV)&wxMemStruct::PrintNode, (checkPoint ? checkPoint->m_next : (wxMemStruct*)NULL));
+ TraverseList ((PmSFV)&wxMemStruct::PrintNode, (checkPoint ? checkPoint->m_next : NULL));
return true;
#else
{
appNameStr = wxTheApp->GetAppName();
appName = appNameStr.c_str();
- OutputDumpLine(wxT("----- Memory dump of %s at %s -----"), appName, wx_static_cast(const wxChar *, wxNow().c_str()));
+ OutputDumpLine(wxT("----- Memory dump of %s at %s -----"), appName, static_cast<const wxChar *>(wxNow().c_str()));
}
else
{
}
}
- TraverseList ((PmSFV)&wxMemStruct::Dump, (checkPoint ? checkPoint->m_next : (wxMemStruct*)NULL));
+ TraverseList ((PmSFV)&wxMemStruct::Dump, (checkPoint ? checkPoint->m_next : NULL));
OutputDumpLine(wxEmptyString);
OutputDumpLine(wxEmptyString);
{
appNameStr = wxTheApp->GetAppName();
appName = appNameStr.c_str();
- OutputDumpLine(wxT("----- Memory statistics of %s at %s -----"), appName, wx_static_cast(const wxChar *, wxNow().c_str()));
+ OutputDumpLine(wxT("----- Memory statistics of %s at %s -----"), appName, static_cast<const wxChar *>(wxNow().c_str()));
}
else
{
wxDebugStatsStruct *list = NULL;
- wxMemStruct *from = (checkPoint ? checkPoint->m_next : (wxMemStruct*)NULL );
+ wxMemStruct *from = (checkPoint ? checkPoint->m_next : NULL );
if (!from)
from = wxDebugContext::GetHead ();
{
int nFailures = 0;
- wxMemStruct *from = (checkPoint ? checkPoint->m_next : (wxMemStruct*)NULL );
+ wxMemStruct *from = (checkPoint ? checkPoint->m_next : NULL );
if (!from || checkAll)
from = wxDebugContext::GetHead ();