X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2209baaee3a8578450e204593b79ed155f340f68..4b94ddc44ced056bb862938d069d9148c4c782b1:/docs/latex/wx/renderer.tex diff --git a/docs/latex/wx/renderer.tex b/docs/latex/wx/renderer.tex index 9678cb65ae..17469cdc33 100644 --- a/docs/latex/wx/renderer.tex +++ b/docs/latex/wx/renderer.tex @@ -52,6 +52,11 @@ the rendering functions should always prepare it. combination of the \texttt{wxCONTROL\_XXX} constants below. \end{itemize} +Note that each drawing function restores the \helpref{wxDC}{wxdc} attributes if +it changes them, so it is safe to assume that the same pen, brush and colours +that were active before the call to this function are still in effect after it. + + \wxheading{Constants} The following rendering flags are defined: @@ -92,9 +97,9 @@ No base class Virtual destructor as for any base class. -\membersection{wxRendererNative::DrawCheckButton}\label{wxrenderernativedrawcheckbutton} +\membersection{wxRendererNative::DrawCheckBox}\label{wxrenderernativedrawcheckbox} -\func{void}{DrawCheckButton}{\param{wxWindow *}{win}, \param{wxDC\& }{dc}, \param{const wxRect\& }{rect}, \param{int }{flags}} +\func{void}{DrawCheckBox}{\param{wxWindow *}{win}, \param{wxDC\& }{dc}, \param{const wxRect\& }{rect}, \param{int }{flags}} Draw a check box (used by wxDataViewCtrl). @@ -236,4 +241,3 @@ Set the renderer to use, passing {\tt NULL} reverts to using the default renderer (the global renderer must always exist). Return the previous renderer used with Set() or {\tt NULL} if none. -