]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/bitmap.h
simplifications and corrections to background drawing:
[wxWidgets.git] / include / wx / gtk / bitmap.h
index 135805a5ae587e468d16fe818ba7f12d70290f7d..c3058826d59f75050d356ee284072b05d634fc49 100644 (file)
 #include "wx/string.h"
 #include "wx/palette.h"
 #include "wx/gdiobj.h"
-#include "wx/rawbmp.h"
 
 #ifdef __WXGTK20__
 typedef struct _GdkPixbuf GdkPixbuf;
 #endif
 
+class WXDLLEXPORT wxPixelDataBase;
+
 //-----------------------------------------------------------------------------
 // classes
 //-----------------------------------------------------------------------------
@@ -136,6 +137,9 @@ public:
     void *GetRawData(wxPixelDataBase& data, int bpp);
     void UngetRawData(wxPixelDataBase& data);
 
+    bool HasAlpha() const;
+    void UseAlpha();
+
 protected:
     bool CreateFromXpm(const char **bits);
     bool CreateFromImage(const wxImage& image, int depth);