X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b9ab0bd824b6b9c93849928d67de1ec71e7c167..1eb1eae717bea7942825313db9074529927db482:/src/common/module.cpp diff --git a/src/common/module.cpp b/src/common/module.cpp index 0853642073..8397312756 100644 --- a/src/common/module.cpp +++ b/src/common/module.cpp @@ -24,14 +24,7 @@ #include "wx/hash.h" #include "wx/listimpl.cpp" -#ifdef __SALFORDC__ -void wxwxModuleListNode::DeleteData() -{ - delete (_WX_LIST_ITEM_TYPE_wxModuleList *)GetData(); -} -#else WX_DEFINE_LIST(wxModuleList); -#endif IMPLEMENT_CLASS(wxModule, wxObject) @@ -58,7 +51,7 @@ void wxModule::RegisterModules() node = wxClassInfo::sm_classTable->Next(); while (node) { - classInfo = (wxClassInfo *)node->Data(); + classInfo = (wxClassInfo *)node->GetData(); if ( classInfo->IsKindOf(CLASSINFO(wxModule)) && (classInfo != (& (wxModule::sm_classwxModule))) ) {