X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dfff6740755754c36e47e5961e9e5fbd1cd4d4e..9c57566224918b8a121d1011aa7baa5b28b334a6:/docs/latex/wx/odcbox.tex diff --git a/docs/latex/wx/odcbox.tex b/docs/latex/wx/odcbox.tex index 460966abc6..8415a8c1b7 100644 --- a/docs/latex/wx/odcbox.tex +++ b/docs/latex/wx/odcbox.tex @@ -140,6 +140,20 @@ should call or replace this function. See for further details. +\membersection{wxOwnerDrawnComboBox::GetWidestItem}\label{wxownerdrawncomboboxgetwidestitem} + +\constfunc{int}{GetWidestItem}{\void} + +Returns index to the widest item in the list. + + +\membersection{wxOwnerDrawnComboBox::GetWidestItemWidth}\label{wxownerdrawncomboboxgetwidestitemwidth} + +\constfunc{int}{GetWidestItemWidth}{\void} + +Returns width of the widest item in the list. + + \membersection{wxOwnerDrawnComboBox::OnDrawBackground}\label{wxownerdrawncomboboxondrawbackground} \constfunc{void}{OnDrawBackground}{\param{wxDC\& }{dc}, \param{const wxRect\& }{rect}, \param{int }{item}, \param{int }{flags}} @@ -179,6 +193,8 @@ region is set to this rectangle before calling this function)} \twocolitem{{\tt wxODCB\_PAINTING\_CONTROL}}{Combo control is being painted, instead of a list item. Argument item may be wxNOT\_FOUND in this case.} +\twocolitem{{\tt wxODCB\_PAINTING\_SELECTED}}{An item with selection +background is being painted. DC text colour should already be correct.} \end{twocollist} @@ -202,3 +218,4 @@ specified item (in pixels). If -1 is returned, then the item text width is used. The default implementation returns -1. +