]> git.saurik.com Git - wxWidgets.git/commitdiff
renamed to WX_DECLARE_LIST_WITH_DECL for consistency if wxUSE_STL=0, too
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 2 Aug 2003 15:54:07 +0000 (15:54 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 2 Aug 2003 15:54:07 +0000 (15:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/list.h

index 492f193a3a2d74bf576abeaa6fb35847be7f35a8..93ea9a13ac9fe88600dcec77356022810299a1e9 100644 (file)
@@ -963,9 +963,13 @@ private:
     typedef elementtype _WX_LIST_ITEM_TYPE_##listname;                      \
     WX_DECLARE_LIST_PTR_2(elementtype, listname, wx##listname##Node, class)
 
-#define WX_DECLARE_EXPORTED_LIST(elementtype, listname)                     \
+#define WX_DECLARE_LIST_WITH_DECL(elementtype, listname, decl) \
     typedef elementtype _WX_LIST_ITEM_TYPE_##listname;                      \
-    WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, class WXDLLEXPORT)
+    WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl)
+    
+#define WX_DECLARE_EXPORTED_LIST(elementtype, listname)                     \
+    WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLEXPORT)
+
 #define WX_DECLARE_EXPORTED_LIST_PTR(elementtype, listname)                     \
     typedef elementtype _WX_LIST_ITEM_TYPE_##listname;                      \
     WX_DECLARE_LIST_PTR_2(elementtype, listname, wx##listname##Node, class WXDLLEXPORT)