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
This commit is contained in:
Vadim Zeitlin
2006-11-19 12:41:04 +00:00
parent 09d66b2b74
commit c6a372b61a

View File

@@ -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}