-#define _DEFINE_LIST(T, name) \
- void wx##name##Node::DeleteData() \
- { \
- delete (T *)GetData(); \
- }
+#else // !wxUSE_STD_CONTAINERS
+ #undef WX_DEFINE_LIST_2
+ #define WX_DEFINE_LIST_2(T, name) \
+ void wx##name##Node::DeleteData() \
+ { \
+ delete (T *)GetData(); \
+ }