/////////////////////////////////////////////////////////////////////////////
-// Name: pen.h
+// Name: wx/gtk/pen.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
#ifndef __GTKPENH__
#define __GTKPENH__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface
#endif
public:
wxPen() { }
- wxPen( const wxColour &colour, int width, int style );
+ wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
~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; }