X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c077ee943391930e0a7550f7ce810cb72a6d5820:/include/wx/listimpl.cpp diff --git a/include/wx/listimpl.cpp b/include/wx/listimpl.cpp index 3beb66103d..eeab9cf2b0 100644 --- a/include/wx/listimpl.cpp +++ b/include/wx/listimpl.cpp @@ -9,6 +9,13 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// +#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