diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index a9199e541c..b7f3b01c30 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -101,15 +101,9 @@ - type which can contain the full pixel value (all channels) */ -#ifdef __DIGITALMARS__ template -#else -template -#endif struct WXDLLEXPORT wxPixelFormat { @@ -629,49 +623,28 @@ struct WXDLLEXPORT wxPixelDataOut }; }; -#ifdef __DIGITALMARS__ + template > class wxPixelData : - public wxPixelDataOut:: wxPixelDataIn + public wxPixelDataOut::wxPixelDataIn { public: wxPixelData(Image& image) - : wxPixelDataOut:: wxPixelDataIn(image) + : wxPixelDataOut::wxPixelDataIn(image) { } wxPixelData(Image& i, const wxPoint& pt, const wxSize& sz) - : wxPixelDataOut:: wxPixelDataIn(i, pt, sz) + : wxPixelDataOut::wxPixelDataIn(i, pt, sz) { } wxPixelData(Image& i, const wxRect& rect) - : wxPixelDataOut:: wxPixelDataIn(i, rect) + : wxPixelDataOut::wxPixelDataIn(i, rect) { } }; -#else // not __DIGITALMARS__ -template > -class wxPixelData : - public wxPixelDataOut::template wxPixelDataIn -{ -public: - wxPixelData(Image& image) - : wxPixelDataOut::template wxPixelDataIn(image) - { - } - wxPixelData(Image& i, const wxPoint& pt, const wxSize& sz) - : wxPixelDataOut::template wxPixelDataIn(i, pt, sz) - { - } - - wxPixelData(Image& i, const wxRect& rect) - : wxPixelDataOut::template wxPixelDataIn(i, rect) - { - } -}; -#endif // __DIGITALMARS__ // some "predefined" pixel data classes typedef wxPixelData wxImagePixelData;