X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dfff6740755754c36e47e5961e9e5fbd1cd4d4e..d5706f3ee8a83947a639ff44a21df29c97b72682:/docs/latex/wx/odcbox.tex diff --git a/docs/latex/wx/odcbox.tex b/docs/latex/wx/odcbox.tex index 460966abc6..385326bf77 100644 --- a/docs/latex/wx/odcbox.tex +++ b/docs/latex/wx/odcbox.tex @@ -33,7 +33,11 @@ and \helpref{OnMeasureItemWidth()}{wxownerdrawncomboboxonmeasureitemwidth}. \wxheading{Include files} - + + +\wxheading{Library} + +\helpref{wxAdv}{librarieslist} \wxheading{Window styles} @@ -140,6 +144,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 +197,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 +222,4 @@ specified item (in pixels). If -1 is returned, then the item text width is used. The default implementation returns -1. +