From 0bd4d463e6b54eac644b4461a702d6c6246266f3 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Wed, 10 Sep 2003 20:57:17 +0000 Subject: [PATCH] Don't declare copystring if WXWIN_COMPATIBILITY_2_4==0 (like in include/wx/utils.h). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/list.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/list.h b/include/wx/list.h index ab36a45db2..2312ea4908 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -240,7 +240,9 @@ enum wxKeyType // due to circular header dependencies this function has to be declared here // (normally it's found in utils.h which includes itself list.h...) +#if WXWIN_COMPATIBILITY_2_4 extern WXDLLIMPEXP_BASE wxChar* copystring(const wxChar *s); +#endif class WXDLLEXPORT wxObjectListNode; typedef wxObjectListNode wxNode;