]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/pen.tex
Some Motif corrections; Dialog Editor compilation under Motif
[wxWidgets.git] / docs / latex / wx / pen.tex
index c0490876e92d789a4f9c8c092a8bb09af3f07ece..5a369a34245e3463bec4e4056241d174451d1a19 100644 (file)
@@ -20,6 +20,12 @@ get a pointer to a pen by using the global list of pens {\bf
 wxThePenList}, and calling the member function {\bf FindOrCreatePen}.
 See the entry for \helpref{wxPenList}{wxpenlist}.
 
+wxPen uses a reference counting system, so assignments between brushes are very
+cheap. You can therefore use actual wxPen objects instead of pointers without
+efficiency problems. Once one wxPen object changes its data it will create its
+own pen data internally so that other pens, which previously shared the
+data using the reference counting, are not affected.
+
 TODO: an overview for wxPen.
 
 \wxheading{See also}
@@ -51,10 +57,6 @@ Constructs a stippled pen from a stipple bitmap and a width.
 
 Copy constructor. This uses reference counting so is a cheap operation.
 
-\func{}{wxPen}{\param{const wxPen*}{ pen}}
-
-Copy constructor. This uses reference counting so is a cheap operation.
-
 \wxheading{Parameters}
 
 \docparam{colour}{A colour object.}