]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/brush.h
fixes to previous commit
[wxWidgets.git] / include / wx / gtk1 / brush.h
index 2859c6ad397a1355cfb5c342fc3489c78037762d..eabb80bde9bc83cfa1146a2e083145c046ff8861 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKBRUSHH__
 #define __GTKBRUSHH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface
 #endif
 
@@ -40,7 +40,9 @@ public:
     wxBrush( const wxBitmap &stippleBitmap );
     ~wxBrush();
     
-    wxBrush( const wxBrush &brush ) { Ref(brush); }
+    wxBrush( const wxBrush &brush )
+        : wxGDIObject()
+        { Ref(brush); }
     wxBrush& operator = ( const wxBrush& brush ) { Ref(brush); return *this; }
     
     bool Ok() const { return m_refData != NULL; }