From: Vadim Zeitlin Date: Mon, 21 Jul 2003 23:13:15 +0000 (+0000) Subject: added default parameters to wxBrush/wxPen ctors X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cfbef359d6dbdc206267dc9e44c6812926a41101 added default parameters to wxBrush/wxPen ctors git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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()