X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9923becbe8301e08e3484072eb34290846bcbdf..249b31b53b6a91bbd2c9f4e2b56355753f6525c9:/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 //-----------------------------------------------------------------------------