]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/odcbox.tex
typo
[wxWidgets.git] / docs / latex / wx / odcbox.tex
index 460966abc65092568880db5322dcb207390aa9a6..385326bf77891fc4f2559daaaf14c975b7f66eb1 100644 (file)
@@ -33,7 +33,11 @@ and \helpref{OnMeasureItemWidth()}{wxownerdrawncomboboxonmeasureitemwidth}.
 
 \wxheading{Include files}
 
-<odcombo.h>
+<wx/odcombo.h>
+
+\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.
+