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