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