better fix for aCC and rawbmp.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2009-02-19 17:28:37 +00:00
parent 04b2ab1a0c
commit ce7c8a9751
3 changed files with 13 additions and 7 deletions

View File

@@ -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
{