Const casting fix for Vis C.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster 2001-04-20 13:00:39 +00:00
parent 35cd9dba7b
commit abe5726aff

View File

@ -783,7 +783,7 @@ bool wxDebugContext::PrintStatistics(bool detailed)
{ {
wxObject *obj = (wxObject *)st->GetActualData(); wxObject *obj = (wxObject *)st->GetActualData();
if (obj->GetClassInfo()->GetClassName()) if (obj->GetClassInfo()->GetClassName())
className = obj->GetClassInfo()->GetClassName(); className = (wxChar*)obj->GetClassInfo()->GetClassName();
} }
wxDebugStatsStruct *stats = FindStatsStruct(list, className); wxDebugStatsStruct *stats = FindStatsStruct(list, className);
if (!stats) if (!stats)