gave default parameters for wxPen() ctor from wxColour (this is what is used in 99 of cases...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: pen.h
|
||||
// Name: wx/mgl/pen.h
|
||||
// Purpose:
|
||||
// Author: Vaclav Slavik
|
||||
// Id: $Id$
|
||||
@@ -36,7 +36,7 @@ class WXDLLEXPORT wxPen: public wxGDIObject
|
||||
{
|
||||
public:
|
||||
wxPen() {}
|
||||
wxPen(const wxColour &colour, int width, int style);
|
||||
wxPen(const wxColour &colour, int width = 1, int style = wxSOLID);
|
||||
wxPen(const wxBitmap& stipple, int width);
|
||||
wxPen(const wxPen& pen);
|
||||
~wxPen() {}
|
||||
|
Reference in New Issue
Block a user