summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8f20ea0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22207
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
Default constructor. The pen will be uninitialised, and \helpref{wxPen::Ok}{wxpenok} will
return false.
Default constructor. The pen will be uninitialised, and \helpref{wxPen::Ok}{wxpenok} will
return false.
-\func{}{wxPen}{\param{const wxColour\&}{ colour}, \param{int}{ width}, \param{int}{ style}}
+\func{}{wxPen}{\param{const wxColour\&}{ colour}, \param{int}{ width = $1$}, \param{int}{ style = {\tt wxSOLID}}}
Constructs a pen from a colour object, pen width and style.
Constructs a pen from a colour object, pen width and style.
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Purpose:
// Author: Robert Roebling
// Id: $Id$
- wxPen( const wxColour &colour, int width, int style );
+ wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
~wxPen();
wxPen( const wxPen& pen )
~wxPen();
wxPen( const wxPen& pen )
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Purpose:
// Author: Robert Roebling
// Id: $Id$
- wxPen( const wxColour &colour, int width, int style );
+ wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
~wxPen();
wxPen( const wxPen& pen )
~wxPen();
wxPen( const wxPen& pen )
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Purpose: wxPen class
// Author: Stefan Csomor
// Modified by:
// Purpose: wxPen class
// Author: Stefan Csomor
// Modified by:
DECLARE_DYNAMIC_CLASS(wxPen)
public:
wxPen();
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()
wxPen(const wxBitmap& stipple, int width);
wxPen(const wxPen& pen)
: wxGDIObject()
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Purpose:
// Author: Vaclav Slavik
// Id: $Id$
// Purpose:
// Author: Vaclav Slavik
// Id: $Id$
- 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() {}
wxPen(const wxBitmap& stipple, int width);
wxPen(const wxPen& pen);
~wxPen() {}
DECLARE_DYNAMIC_CLASS(wxPen)
public:
wxPen();
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);
inline wxPen(const wxPen& pen) { Ref(pen); }
~wxPen();
wxPen(const wxBitmap& stipple, int width);
inline wxPen(const wxPen& pen) { Ref(pen); }
~wxPen();
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Purpose: wxPen class
// Author: David Webster
// Modified by:
// Purpose: wxPen class
// Author: David Webster
// Modified by:
public:
wxPen();
wxPen( const wxColour& rColour
public:
wxPen();
wxPen( const wxColour& rColour
- ,int nWidth
- ,int nStyle
+ ,int nWidth = 1
+ ,int nStyle = wxSOLID
);
wxPen( const wxBitmap& rStipple
,int nWidth
);
wxPen( const wxBitmap& rStipple
,int nWidth
#if defined(__WXMSW__)
#include "wx/msw/pen.h"
#if defined(__WXMSW__)
#include "wx/msw/pen.h"
-#elif defined(__WXMOTIF__)
+#elif defined(__WXMOTIF__) || defined(__WXX11__)
#include "wx/x11/pen.h"
#elif defined(__WXGTK__)
#include "wx/gtk/pen.h"
#include "wx/x11/pen.h"
#elif defined(__WXGTK__)
#include "wx/gtk/pen.h"
-#elif defined(__WXX11__)
-#include "wx/x11/pen.h"
#elif defined(__WXMGL__)
#include "wx/mgl/pen.h"
#elif defined(__WXMAC__)
#elif defined(__WXMGL__)
#include "wx/mgl/pen.h"
#elif defined(__WXMAC__)
- 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();
wxPen( const wxBitmap &stipple, int width );
~wxPen();