X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/faa3bd94f005f5b93871a0d696610f7572414277..031df3055549760b160201449676f64c12d8390b:/docs/latex/wx/pen.tex diff --git a/docs/latex/wx/pen.tex b/docs/latex/wx/pen.tex index e4353792b5..0d3a3ce6ad 100644 --- a/docs/latex/wx/pen.tex +++ b/docs/latex/wx/pen.tex @@ -59,7 +59,7 @@ 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 +wxPen uses a reference counting system, so assignments between pens 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