#ifndef _WX_BRUSH_H_
#define _WX_BRUSH_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "brush.h"
#endif
wxBrush(short macThemeBrush ) ;
wxBrush(const wxColour& col, int style);
wxBrush(const wxBitmap& stipple);
- inline wxBrush(const wxBrush& brush) { Ref(brush); }
+ wxBrush(const wxBrush& brush)
+ : wxGDIObject()
+ { Ref(brush); }
~wxBrush();
virtual void SetColour(const wxColour& col) ;
virtual void SetMacTheme(short macThemeBrush) ;
virtual void SetMacThemeBackground(unsigned long macThemeBackground , WXRECTPTR extent) ;
- inline wxBrush& operator = (const wxBrush& brush) { if (*this == brush) return (*this); Ref(brush); return *this; }
- inline bool operator == (const wxBrush& brush) { return m_refData == brush.m_refData; }
- inline bool operator != (const wxBrush& brush) { return m_refData != brush.m_refData; }
+ wxBrush& operator = (const wxBrush& brush)
+ { if (*this == brush) return (*this); Ref(brush); return *this; }
+ bool operator == (const wxBrush& brush)
+ { return m_refData == brush.m_refData; }
+ bool operator != (const wxBrush& brush)
+ { return m_refData != brush.m_refData; }
wxMacBrushKind MacGetBrushKind() const ;