From 7071c928178c97069bb7af4574d5479486434f68 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 4 Jan 2003 13:29:36 +0000 Subject: [PATCH] gcc has __attribute__((deprecated)) since version 3.1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index d86fbe57bb..261360c6f3 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -392,7 +392,7 @@ class WXDLLEXPORT wxEvent; #endif // Macro to issue warning when using deprecated functions with gcc3 or MSVC7: -#if wxCHECK_GCC_VERSION(3, 0) +#if wxCHECK_GCC_VERSION(3, 1) #define wxDEPRECATED(x) x __attribute__ ((deprecated)) #elif defined(__VISUALC__) && (__VISUALC__ >= 1300) #define wxDEPRECATED(x) __declspec(deprecated) x -- 2.50.0