From dc300f9ffc0c83713e38d8fb123ca4515d894af2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 10 Jul 2007 20:13:59 +0000 Subject: [PATCH] compilation fix for gcc<3.4 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/rawbmp.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index 3956623b70..377836fc99 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -650,7 +650,7 @@ struct wxPixelDataOut #if WXWIN_COMPATIBILITY_2_8 // not needed anymore, calls to it should be simply removed - wxDEPRECATED( inline void UseAlpha() {} ); + wxDEPRECATED( inline void UseAlpha() ); #endif // private: -- see comment in the beginning of the file @@ -694,6 +694,11 @@ public: } }; +#if WXWIN_COMPATIBILITY_2_8 +template +inline void wxPixelDataOut::wxPixelDataIn::UseAlpha() {} +#endif + // some "predefined" pixel data classes #if wxUSE_IMAGE -- 2.45.2