]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for HP aCC, it can't compile rawbmp.h
authorPaul Cornett <paulcor@bullseye.com>
Thu, 19 Feb 2009 05:34:48 +0000 (05:34 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 19 Feb 2009 05:34:48 +0000 (05:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/bitmap.cpp

index 2cc8b7d78e5a41fe7bb92ed4f5ad04298ffeecf0..7811f87e542b432641c79d9287d74445d96257bf 100644 (file)
     #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
 {