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