]> git.saurik.com Git - wxWidgets.git/commitdiff
gcc has __attribute__((deprecated)) since version 3.1
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 4 Jan 2003 13:29:36 +0000 (13:29 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 4 Jan 2003 13:29:36 +0000 (13:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index d86fbe57bb2674c570bf93333bb200ca4dff19c6..261360c6f3ecd8e2dade88b36e7b958b2751f63a 100644 (file)
@@ -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