X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9923becbe8301e08e3484072eb34290846bcbdf..9aaf11927c8f43dcf296563c6a62707d625c2356:/src/gtk1/bitmap.cpp diff --git a/src/gtk1/bitmap.cpp b/src/gtk1/bitmap.cpp index 25483b1ee3..df7af69140 100644 --- a/src/gtk1/bitmap.cpp +++ b/src/gtk1/bitmap.cpp @@ -1597,6 +1597,23 @@ void wxBitmap::UngetRawData(wxPixelDataBase& data) { } + +bool wxBitmap::HasAlpha() const +{ +#ifdef __WXGTK20__ + return HasPixbuf(); +#else + return false; +#endif +} + +void wxBitmap::UseAlpha() +{ +#ifdef __WXGTK20__ + GetPixbuf(); +#endif +} + //----------------------------------------------------------------------------- // wxBitmapHandler //-----------------------------------------------------------------------------