X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2a5251d0109a1be6b9ce5c818d89f56ebfaeae1..e128397f931f7a97316057588c6dfd70b1b9fd97:/include/wx/msw/pen.h diff --git a/include/wx/msw/pen.h b/include/wx/msw/pen.h index 07325f94a4..0e4be5f858 100644 --- a/include/wx/msw/pen.h +++ b/include/wx/msw/pen.h @@ -12,7 +12,7 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pen.h" #endif @@ -61,7 +61,7 @@ class WXDLLEXPORT wxPen: public wxGDIObject DECLARE_DYNAMIC_CLASS(wxPen) public: wxPen(); - wxPen(const wxColour& col, int width, int style); + wxPen(const wxColour& col, int width = 1, int style = wxSOLID); wxPen(const wxBitmap& stipple, int width); inline wxPen(const wxPen& pen) { Ref(pen); } ~wxPen();