]> git.saurik.com Git - wxWidgets.git/commitdiff
Const casting fix for Vis C.
authorDavid Webster <Dave.Webster@bhmi.com>
Fri, 20 Apr 2001 13:00:39 +0000 (13:00 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Fri, 20 Apr 2001 13:00:39 +0000 (13:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/memory.cpp

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