#ifndef _WX_PEN_H_
#define _WX_PEN_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "pen.h"
#endif
// classes
//-----------------------------------------------------------------------------
-class wxPen;
-class wxColour;
-class wxBitmap;
+class WXDLLIMPEXP_CORE wxPen;
+class WXDLLIMPEXP_CORE wxColour;
+class WXDLLIMPEXP_CORE wxBitmap;
typedef char wxX11Dash;
// wxPen
//-----------------------------------------------------------------------------
-class wxPen: public wxGDIObject
+class WXDLLIMPEXP_CORE wxPen: public wxGDIObject
{
public:
wxPen() { }
- wxPen( const wxColour &colour, int width, int style );
+ wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
wxPen( const wxBitmap &stipple, int width );
~wxPen();