X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59b48b469045e4d3e9258be2c4b149bb0fd77f08..81c882b613b5d99ddb1e5ab69fcd7ebccc287025:/docs/latex/wx/region.tex diff --git a/docs/latex/wx/region.tex b/docs/latex/wx/region.tex index 16a33a2c21..11df532caf 100644 --- a/docs/latex/wx/region.tex +++ b/docs/latex/wx/region.tex @@ -10,8 +10,14 @@ \section{\class{wxRegion}}\label{wxregion} -A wxRegion represents a simple or complex region on a device context or window. It uses -reference counting, so copying and assignment operations are fast. +A wxRegion represents a simple or complex region on a device context or window. + +This class uses \helpref{reference counting and copy-on-write}{trefcount} +internally so that assignments between two instances of this class are very +cheap. You can therefore use actual objects instead of pointers without +efficiency problems. If an instance of this class is changed it will create +its own data internally so that other instances, which previously shared the +data using the reference counting, are not affected. \wxheading{Derived from}