From: Vadim Zeitlin Date: Sun, 19 Nov 2006 12:41:04 +0000 (+0000) Subject: replaced 2nd wxCONTROL_CURRENT with correct wxCONTROL_FOCUSED in DrawItemSelectionRec... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c6a372b61aef622e7969772c0633846de64f5851 replaced 2nd wxCONTROL_CURRENT with correct wxCONTROL_FOCUSED in DrawItemSelectionRect() description git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/renderer.tex b/docs/latex/wx/renderer.tex index b4bbe59f74..6b1f12b56d 100644 --- a/docs/latex/wx/renderer.tex +++ b/docs/latex/wx/renderer.tex @@ -147,16 +147,15 @@ drawing of a text or bitmap label can be passed in \arg{params}. \func{void}{DrawItemSelectionRect}{\param{wxWindow* }{win}, \param{wxDC\& }{dc}, \param{const wxRect\& }{rect}, \param{int }{flags = 0}} -Draw a selection rectangle underneath the text as used e.g. -in a \helpref{wxListCtrl}{wxlistctrl}. The supported \arg{flags} -are \texttt{wxCONTROL\_SELECTED} for items which are selected -(e.g. often a blue rectangle) and \texttt{wxCONTROL\_CURRENT} -for the item that has the focus (often a dotted line around -the item's text). \texttt{wxCONTROL\_CURRENT} may be used -to indicate if the control has the focus (othewise the -the selection rectangle is e.g. often grey and not blue). -This may be ignored by the renderer or deduced by the -code directly from the \arg{win}. +Draw a selection rectangle underneath the text as used e.g. in a +\helpref{wxListCtrl}{wxlistctrl}. The supported \arg{flags} are +\texttt{wxCONTROL\_SELECTED} for items which are selected (e.g. often a blue +rectangle) and \texttt{wxCONTROL\_CURRENT} for the item that has the focus +(often a dotted line around the item's text). \texttt{wxCONTROL\_FOCUSED} may +be used to indicate if the control has the focus (othewise the the selection +rectangle is e.g. often grey and not blue). This may be ignored by the renderer +or deduced by the code directly from the \arg{win}. + \membersection{wxRendererNative::DrawPushButton}\label{wxrenderernativedrawpushbutton}