]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for gcc<3.4
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 10 Jul 2007 20:13:59 +0000 (20:13 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 10 Jul 2007 20:13:59 +0000 (20:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/rawbmp.h

index 3956623b709529b0c3eb7b13ee3d5fadad917247..377836fc9985b3dcb8124c271df1ff60bbc0aa31 100644 (file)
@@ -650,7 +650,7 @@ struct wxPixelDataOut<wxBitmap>
 
 #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 <class Format>
+inline void wxPixelDataOut<wxBitmap>::wxPixelDataIn<Format>::UseAlpha() {}
+#endif
+
 
 // some "predefined" pixel data classes
 #if wxUSE_IMAGE