]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/bitmap.cpp
applying patch, fixes #10523
[wxWidgets.git] / src / gtk / bitmap.cpp
index 2cc8b7d78e5a41fe7bb92ed4f5ad04298ffeecf0..8a2785bbd82abe6b8b014477347e22df3473774a 100644 (file)
@@ -856,6 +856,7 @@ void wxBitmap::PurgeOtherRepresentations(wxBitmap::Representation keep)
     }
 }
 
+#ifdef wxHAS_RAW_BITMAP
 void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp)
 {
     void* bits = NULL;
@@ -876,6 +877,7 @@ void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp)
 void wxBitmap::UngetRawData(wxPixelDataBase& WXUNUSED(data))
 {
 }
+#endif // wxHAS_RAW_BITMAP
 
 bool wxBitmap::HasAlpha() const
 {