diff --git a/include/wx/cocoa/brush.h b/include/wx/cocoa/brush.h index 28e4efa76f..d561168a24 100644 --- a/include/wx/cocoa/brush.h +++ b/include/wx/cocoa/brush.h @@ -29,7 +29,7 @@ class WXDLLEXPORT wxBrush: public wxGDIObject // ------------------------------------------------------------------------ public: wxBrush(); - wxBrush(const wxColour& col, int style); + wxBrush(const wxColour& col, int style = wxSOLID); wxBrush(const wxBitmap& stipple); wxBrush(const wxBrush& brush) : wxGDIObject() diff --git a/include/wx/cocoa/pen.h b/include/wx/cocoa/pen.h index f13fcdfdac..400d8d8ee5 100644 --- a/include/wx/cocoa/pen.h +++ b/include/wx/cocoa/pen.h @@ -1,11 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: pen.h +// Name: wx/cocoa/pen.h // Purpose: wxPen class -// Author: AUTHOR +// Author: David Elliott // Modified by: -// Created: ??/??/98 +// Created: 22.03.2003 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR +// Copyright: (c) 2003 David Elliott // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -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()