X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40298d54ecd5b109222a7c60aa2ef084a304d69..1d17f92389f6138ae113e8b59a8d4e3bc4ca78a5:/include/wx/mac/pen.h diff --git a/include/wx/mac/pen.h b/include/wx/mac/pen.h index ca48f977ac..50afa0d9c4 100644 --- a/include/wx/mac/pen.h +++ b/include/wx/mac/pen.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: pen.h +// Name: wx/mac/pen.h // Purpose: wxPen class // Author: Stefan Csomor // Modified by: @@ -12,7 +12,7 @@ #ifndef _WX_PEN_H_ #define _WX_PEN_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pen.h" #endif @@ -54,7 +54,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); wxPen(const wxPen& pen) : wxGDIObject()