X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8aa4edd248534c4c1879c93d363d1b7fb8e8c5c6..a200c35efa060107d8243458fca160eb237b9c23:/src/common/module.cpp?ds=sidebyside diff --git a/src/common/module.cpp b/src/common/module.cpp index 5a65c70b94..f1d0bebed7 100644 --- a/src/common/module.cpp +++ b/src/common/module.cpp @@ -24,7 +24,14 @@ #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)