X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/591087eda46c6d238e4df8338e160df0ccbbc79c..6500a868fe571da49a36487a1942b12e5393ab4a:/docs/latex/wx/comboctrl.tex diff --git a/docs/latex/wx/comboctrl.tex b/docs/latex/wx/comboctrl.tex index b7689955dc..f25de03a17 100644 --- a/docs/latex/wx/comboctrl.tex +++ b/docs/latex/wx/comboctrl.tex @@ -238,6 +238,19 @@ Copies the selected text to the clipboard. Copies the selected text to the clipboard and removes the selection. +\membersection{wxComboCtrl::DoSetPopupControl}\label{wxcomboctrldosetpopupcontrol} + +\func{void}{DoSetPopupControl}{\param{wxComboPopup* }{popup}} + +This member function is not normally called in application code. +Instead, it can be implemented in a derived class to return +default wxComboPopup, incase {\tt popup} is NULL. + +\textbf{Note:} If you have implemented OnButtonClick to do +something else than show the popup, then DoSetPopupControl +must always return NULL. + + \membersection{wxComboCtrl::GetBitmapDisabled}\label{wxcomboctrlgetbitmapdisabled} \constfunc{const wxBitmap\&}{GetBitmapDisabled}{\void} @@ -383,6 +396,14 @@ Get the text control which is part of the combo control. Returns actual indentation in pixels. +\membersection{wxComboCtrl::GetTextRect}\label{wxcomboctrlgettextrect} + +\constfunc{const wxRect\&}{GetTextRect}{\void} + +Returns area covered by the text field (includes everything except +borders and the dropdown button). + + \membersection{wxComboCtrl::GetValue}\label{wxcomboctrlgetvalue} \constfunc{wxString}{GetValue}{\void} @@ -414,6 +435,11 @@ dropdown button click. Default action is to show the popup. +\textbf{Note:} If you implement this to do something else than +show the popup, you must then also implement +\helpref{DoSetPopupControl}{wxcomboctrldosetpopupcontrol} to always +return NULL. + \membersection{wxComboCtrl::Paste}\label{wxcomboctrlpaste} @@ -617,6 +643,14 @@ string must be accepted by the popup (for instance, exist in the dropdown list), otherwise the call to SetValue() is ignored +\membersection{wxComboCtrl::SetValueWithEvent}\label{wxcomboctrlsetvaluewithevent} + +\func{void}{SetValueWithEvent}{\param{const wxString\& }{value}, \param{bool }{withEvent = true}} + +Same as SetValue, but also sends wxCommandEvent of type wxEVT\_COMMAND\_TEXT\_UPDATED +if {\tt withEvent} is \true. + + \membersection{wxComboCtrl::ShowPopup}\label{wxcomboctrlshowpopup} \func{void}{ShowPopup}{\void}