X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..4b7ded8bad3a45ea4838e6d3f5d1957a134050ec:/include/wx/listimpl.cpp diff --git a/include/wx/listimpl.cpp b/include/wx/listimpl.cpp index 3beb66103d..1f1dba3a81 100644 --- a/include/wx/listimpl.cpp +++ b/include/wx/listimpl.cpp @@ -6,9 +6,16 @@ // Created: 16/11/98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#if wxUSE_STL + +#undef WX_DEFINE_LIST +#define WX_DEFINE_LIST(name) + +#else // if !wxUSE_STL + #define _DEFINE_LIST(T, name) \ void wx##name##Node::DeleteData() \ { \ @@ -22,3 +29,5 @@ // don't pollute preprocessor's name space //#undef _DEFINE_LIST + +#endif