]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/rawbmp.h
do platform-specific checks after ensuring that the symbols we use are defined; extra...
[wxWidgets.git] / 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