X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a614483c35fce149e0394996420fc5ebc5a1493..c84d128369304dea6a3d79aec61b402ecb1982a5:/src/gtk/bitmap.cpp diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index 7811f87e54..8a2785bbd8 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/bitmap.cpp @@ -21,10 +21,7 @@ #include "wx/colour.h" #endif -// HP aCC for PA-RISC can't compile rawbmp.h -#if !defined(__HP_aCC) || !defined(__hppa) - #include "wx/rawbmp.h" -#endif +#include "wx/rawbmp.h" #include "wx/gtk/private/object.h" @@ -859,7 +856,7 @@ void wxBitmap::PurgeOtherRepresentations(wxBitmap::Representation keep) } } -#if !defined(__HP_aCC) || !defined(__hppa) +#ifdef wxHAS_RAW_BITMAP void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp) { void* bits = NULL; @@ -880,7 +877,7 @@ void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp) void wxBitmap::UngetRawData(wxPixelDataBase& WXUNUSED(data)) { } -#endif +#endif // wxHAS_RAW_BITMAP bool wxBitmap::HasAlpha() const {