X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed1288c1d53072d6db0285d2bd5dca3d72fc8c3e..5851053a968330aea0a4bd6918b330eb0bfa0007:/include/wx/listimpl.cpp diff --git a/include/wx/listimpl.cpp b/include/wx/listimpl.cpp index 11d0196a4e..7f3cdb7d18 100644 --- a/include/wx/listimpl.cpp +++ b/include/wx/listimpl.cpp @@ -12,10 +12,10 @@ #if wxUSE_STL #undef WX_DEFINE_LIST - #define WX_DEFINE_LIST(name) \ - void name::DeleteFunction( const _WX_LIST_ITEM_TYPE_##name X ) \ - { \ - delete X; \ + #define WX_DEFINE_LIST(name) \ + void _WX_LIST_HELPER_##name::DeleteFunction( _WX_LIST_ITEM_TYPE_##name X ) \ + { \ + delete X; \ } #else // if !wxUSE_STL