]> git.saurik.com Git - wxWidgets.git/commitdiff
another compilation fix: added dummy UseAlpha(0 and HasAlpha()
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Feb 2005 17:16:33 +0000 (17:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Feb 2005 17:16:33 +0000 (17:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/bitmap.h
include/wx/gtk1/bitmap.h

index 2c8c37975ade2945b6f1ce1e94388deae7a31900..3dccd3668fd17d6f9ce372419761db1754767701 100644 (file)
@@ -137,6 +137,9 @@ public:
     void *GetRawData(wxPixelDataBase& data, int bpp);
     void UngetRawData(wxPixelDataBase& data);
 
+    bool HasAlpha() const { return true; }
+    void UseAlpha() { }
+
 protected:
     bool CreateFromXpm(const char **bits);
     bool CreateFromImage(const wxImage& image, int depth);
index 2c8c37975ade2945b6f1ce1e94388deae7a31900..3dccd3668fd17d6f9ce372419761db1754767701 100644 (file)
@@ -137,6 +137,9 @@ public:
     void *GetRawData(wxPixelDataBase& data, int bpp);
     void UngetRawData(wxPixelDataBase& data);
 
+    bool HasAlpha() const { return true; }
+    void UseAlpha() { }
+
 protected:
     bool CreateFromXpm(const char **bits);
     bool CreateFromImage(const wxImage& image, int depth);