From: Stefan Neis Date: Wed, 8 Oct 2008 12:11:07 +0000 (+0000) Subject: Workaround for bug in gcc-3.1 through gcc-3.3 in handling deprecation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/29fac1f6b1533ac2053c9785b87c3434af3998ae?ds=sidebyside Workaround for bug in gcc-3.1 through gcc-3.3 in handling deprecation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index 546bf7ea26..1cd87af670 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -2326,7 +2326,9 @@ public: SetEventObject(obj); } - wxDEPRECATED( + // explicitly specifying inline allows gcc < 3.4 to + // handle the deprecation attribute even in the constructor. + wxDEPRECATED( inline wxGridEvent(int id, wxEventType type, wxObject* obj, @@ -2387,7 +2389,7 @@ public: SetEventObject(obj); } - wxDEPRECATED( + wxDEPRECATED( inline wxGridSizeEvent(int id, wxEventType type, wxObject* obj, @@ -2445,7 +2447,7 @@ public: SetEventObject(obj); } - wxDEPRECATED( + wxDEPRECATED( inline wxGridRangeSelectEvent(int id, wxEventType type, wxObject* obj,