added default parameters to wxBrush/wxPen ctors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-21 23:13:15 +00:00
parent b3208e1158
commit cfbef359d6
2 changed files with 6 additions and 6 deletions

View File

@@ -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()

View File

@@ -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()