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}} \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. Draw a selection rectangle underneath the text as used e.g. in a
in a \helpref{wxListCtrl}{wxlistctrl}. The supported \arg{flags} \helpref{wxListCtrl}{wxlistctrl}. The supported \arg{flags} are
are \texttt{wxCONTROL\_SELECTED} for items which are selected \texttt{wxCONTROL\_SELECTED} for items which are selected (e.g. often a blue
(e.g. often a blue rectangle) and \texttt{wxCONTROL\_CURRENT} rectangle) and \texttt{wxCONTROL\_CURRENT} for the item that has the focus
for the item that has the focus (often a dotted line around (often a dotted line around the item's text). \texttt{wxCONTROL\_FOCUSED} may
the item's text). \texttt{wxCONTROL\_CURRENT} may be used be used to indicate if the control has the focus (othewise the the selection
to indicate if the control has the focus (othewise the rectangle is e.g. often grey and not blue). This may be ignored by the renderer
the selection rectangle is e.g. often grey and not blue). or deduced by the code directly from the \arg{win}.
This may be ignored by the renderer or deduced by the
code directly from the \arg{win}.
\membersection{wxRendererNative::DrawPushButton}\label{wxrenderernativedrawpushbutton} \membersection{wxRendererNative::DrawPushButton}\label{wxrenderernativedrawpushbutton}