* wxCreateDynamicObject() uses an hashtable now
* wxClassInfo::first = NULL after the hashtable is initialized * dynlib has been simplified. * Some fix in the serialization core and in wxObject::StoreObject()/LoadObject() * Updates in utils/serialize/sermain.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -785,9 +785,14 @@ bool wxDebugContext::PrintClasses(void)
|
||||
}
|
||||
|
||||
int n = 0;
|
||||
wxClassInfo *info = wxClassInfo::first;
|
||||
while (info)
|
||||
wxNode *node;
|
||||
wxClassInfo *info;
|
||||
|
||||
wxClassInfo::classTable.BeginFind();
|
||||
node = wxClassInfo::classTable.Next();
|
||||
while (node)
|
||||
{
|
||||
info = (wxClassInfo *)node->Data();
|
||||
if (info->GetClassName())
|
||||
{
|
||||
wxTrace("%s ", info->GetClassName());
|
||||
@@ -801,7 +806,7 @@ bool wxDebugContext::PrintClasses(void)
|
||||
else
|
||||
wxTrace("\n");
|
||||
}
|
||||
info = info->next;
|
||||
node = node->Next();
|
||||
n ++;
|
||||
}
|
||||
wxTrace("\nThere are %d classes derived from wxObject.\n", n);
|
||||
|
Reference in New Issue
Block a user