]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/statbmp.h
fixed wxImage->wxBitmap conversion for images with alpha channel
[wxWidgets.git] / include / wx / gtk / statbmp.h
index 8490ad78a47078cdefb70e638aaf10cec6efbab1..00677618dea55eeacadb6f151320192617688375 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKSTATICBITMAPH__
 #define __GTKSTATICBITMAPH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
@@ -52,6 +52,9 @@ public:
         return (const wxIcon &)m_bitmap;
     }
 
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+    
 private:
     // creates the new pixmap widget
     void CreatePixmapWidget();