#include "wx/image.h"
#include "wx/dcmemory.h"
#include "wx/app.h"
+#include "wx/rawbmp.h"
#ifdef __WXGTK20__
// need this to get gdk_image_new_bitmap()
{
}
+
+bool wxBitmap::HasAlpha() const
+{
+#ifdef __WXGTK20__
+ return HasPixbuf();
+#else
+ return false;
+#endif
+}
+
+void wxBitmap::UseAlpha()
+{
+#ifdef __WXGTK20__
+ GetPixbuf();
+#endif
+}
+
//-----------------------------------------------------------------------------
// wxBitmapHandler
//-----------------------------------------------------------------------------