From: Václav Slavík Date: Tue, 10 Jul 2007 20:13:59 +0000 (+0000) Subject: compilation fix for gcc<3.4 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dc300f9ffc0c83713e38d8fb123ca4515d894af2?ds=inline compilation fix for gcc<3.4 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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