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