#ifndef __GTKPENH__
#define __GTKPENH__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface
#endif
wxPen( const wxColour &colour, int width, int style );
~wxPen();
- wxPen( const wxPen& pen ) { Ref(pen); }
+ wxPen( const wxPen& pen )
+ : wxGDIObject()
+ { Ref(pen); }
wxPen& operator = ( const wxPen& pen ) { Ref(pen); return *this; }
bool Ok() const { return m_refData != NULL; }