add default parameters for width and style parameters of FindOrCreatePen() for consistency with FindOrCreateBrush() and wxPen ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -116,7 +116,9 @@ public:
|
||||
class WXDLLIMPEXP_CORE wxPenList: public wxGDIObjListBase
|
||||
{
|
||||
public:
|
||||
wxPen *FindOrCreatePen(const wxColour& colour, int width, wxPenStyle style);
|
||||
wxPen *FindOrCreatePen(const wxColour& colour,
|
||||
int width = 1,
|
||||
wxPenStyle style = wxPENSTYLE_SOLID);
|
||||
|
||||
#if FUTURE_WXWIN_COMPATIBILITY_3_0
|
||||
wxPen *FindOrCreatePen(const wxColour& colour, int width, int style)
|
||||
|
@@ -455,7 +455,9 @@ public:
|
||||
@param style
|
||||
Pen style. See ::wxPenStyle for a list of styles.
|
||||
*/
|
||||
wxPen* FindOrCreatePen(const wxColour& colour, int width, wxPenStyle style);
|
||||
wxPen* FindOrCreatePen(const wxColour& colour,
|
||||
int width = 1,
|
||||
wxPenStyle style = wxPENSTYLE_SOLID);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user