X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9923becbe8301e08e3484072eb34290846bcbdf..4ed30bab75f8b7be9b27cd0ee3f462c3df0a35c5:/src/gtk/bitmap.cpp diff --git a/src/gtk/bitmap.cpp b/src/gtk/bitmap.cpp index 25483b1ee3..df7af69140 100644 --- a/src/gtk/bitmap.cpp +++ b/src/gtk/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 //-----------------------------------------------------------------------------