]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't declare copystring if WXWIN_COMPATIBILITY_2_4==0
authorMattia Barbon <mbarbon@cpan.org>
Wed, 10 Sep 2003 20:57:17 +0000 (20:57 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Wed, 10 Sep 2003 20:57:17 +0000 (20:57 +0000)
(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

index ab36a45db25b2893f0666a6628f1c9cb19df69f1..2312ea49082a20e5a4faab5767639a0d8eeb0344 100644 (file)
@@ -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;