workaround for mingw 3.2.3 DLL build with wxUSE_STL=1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-03-23 02:01:25 +00:00
parent d294c9db88
commit 30a29593e8
3 changed files with 38 additions and 10 deletions

View File

@@ -12,10 +12,10 @@
#if wxUSE_STL
#undef WX_DEFINE_LIST
#define WX_DEFINE_LIST(name) \
void name::DeleteFunction( _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