- wxTrace("%s ", info->GetClassName());
-
- if (info->GetBaseClassName1() && !info->GetBaseClassName2())
- wxTrace("is a %s", info->GetBaseClassName1());
- else if (info->GetBaseClassName1() && info->GetBaseClassName2())
- wxTrace("is a %s, %s", info->GetBaseClassName1(), info->GetBaseClassName2());
- if (info->GetConstructor())
- wxTrace(": dynamic\n");
- else
- wxTrace("\n");
+ wxString msg(info->GetClassName());
+ msg += " ";
+
+ if (info->GetBaseClassName1() && !info->GetBaseClassName2())
+ {
+ msg += "is a ";
+ msg += info->GetBaseClassName1();
+ }
+ else if (info->GetBaseClassName1() && info->GetBaseClassName2())
+ {
+ msg += "is a ";
+ msg += info->GetBaseClassName1() ;
+ msg += ", ";
+ msg += info->GetBaseClassName2() ;
+ }
+ if (info->GetConstructor())
+ msg += ": dynamic";
+
+ wxLogDebug(msg);