X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dfff6740755754c36e47e5961e9e5fbd1cd4d4e..78cd9c69eb3f4c158fe10ce49325d57ec05d1306:/docs/latex/wx/odcbox.tex diff --git a/docs/latex/wx/odcbox.tex b/docs/latex/wx/odcbox.tex index 460966abc6..a795860281 100644 --- a/docs/latex/wx/odcbox.tex +++ b/docs/latex/wx/odcbox.tex @@ -25,7 +25,6 @@ and \helpref{OnMeasureItemWidth()}{wxownerdrawncomboboxonmeasureitemwidth}. \wxheading{Derived from} \helpref{wxComboCtrl}{wxcomboctrl}\\ -\helpref{wxControlWithItems}{wxcontrolwithitems}\\ \helpref{wxControl}{wxcontrol}\\ \helpref{wxWindow}{wxwindow}\\ \helpref{wxEvtHandler}{wxevthandler}\\ @@ -33,7 +32,11 @@ and \helpref{OnMeasureItemWidth()}{wxownerdrawncomboboxonmeasureitemwidth}. \wxheading{Include files} - + + +\wxheading{Library} + +\helpref{wxAdv}{librarieslist} \wxheading{Window styles} @@ -140,6 +143,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 +196,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 +221,4 @@ specified item (in pixels). If -1 is returned, then the item text width is used. The default implementation returns -1. +