]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/bitmap.cpp
wxUniv compilation fix
[wxWidgets.git] / src / gtk / bitmap.cpp
index 25483b1ee3a4ead810099d2cb8cf106411537555..df7af691407464e54fa0ae1cf7b56cfa2fd13cf7 100644 (file)
@@ -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
 //-----------------------------------------------------------------------------