X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8aa4edd248534c4c1879c93d363d1b7fb8e8c5c6..f5ba273ecd799f652736ce2bc830283787302a56:/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)