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:
parent
b09cac4506
commit
5d2d8f6ae3
2 changed files with 6 additions and 2 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue