fix for HP aCC, it can't compile rawbmp.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2009-02-19 05:34:48 +00:00
parent be4674271d
commit 8a614483c3

View File

@@ -21,7 +21,10 @@
#include "wx/colour.h"
#endif
#include "wx/rawbmp.h"
// HP aCC for PA-RISC can't compile rawbmp.h
#if !defined(__HP_aCC) || !defined(__hppa)
#include "wx/rawbmp.h"
#endif
#include "wx/gtk/private/object.h"
@@ -856,6 +859,7 @@ void wxBitmap::PurgeOtherRepresentations(wxBitmap::Representation keep)
}
}
#if !defined(__HP_aCC) || !defined(__hppa)
void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp)
{
void* bits = NULL;
@@ -876,6 +880,7 @@ void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp)
void wxBitmap::UngetRawData(wxPixelDataBase& WXUNUSED(data))
{
}
#endif
bool wxBitmap::HasAlpha() const
{