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:
Vadim Zeitlin
2008-03-22 00:04:01 +00:00
parent b09cac4506
commit 5d2d8f6ae3
2 changed files with 6 additions and 2 deletions

View File

@@ -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);
};
/**