X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ecaed0bcdaddf522bda6a73dd655ee473f35c03a..54753153a66a78a67a8129ff37982ad3abe5c291:/docs/latex/wx/text.tex?ds=sidebyside diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index 49dcf82973..083659f1b6 100644 --- a/docs/latex/wx/text.tex +++ b/docs/latex/wx/text.tex @@ -173,7 +173,7 @@ control. This could be done in the following way: wxTextCtrl *control = new wxTextCtrl(...); std::streambuf *sbOld = std::cout.rdbuf(); - std::cout.rdbuf(*control); + std::cout.rdbuf(control); // use cout as usual, the output appears in the text control ... @@ -335,11 +335,42 @@ the programmer should use \helpref{GetInsertionPoint}{wxtextctrlgetinsertionpoin Call this function to enable auto-completion of the text typed in a single-line text control using the given \arg{choices}. +Notice that currently this function is only implemented in wxGTK2 and wxMSW +ports and does nothing under the other platforms. + +\newsince{2.9.0} + +\wxheading{Return value} + +\true if the auto-completion was enabled or \false if the operation failed, +typically because auto-completion is not supported by the current platform. + +\wxheading{See also} + +\helpref{AutoCompleteFileNames}{wxtextctrlautocompletefilenames} + + +\membersection{wxTextCtrl::AutoCompleteFileNames}\label{wxtextctrlautocompletefilenames} + +\func{bool}{AutoCompleteFileNames}{\void} + +Call this function to enable auto-completion of the text typed in a single-line +text control using all valid file system paths. + Notice that currently this function is only implemented in wxGTK2 port and does nothing under the other platforms. \newsince{2.9.0} +\wxheading{Return value} + +\true if the auto-completion was enabled or \false if the operation failed, +typically because auto-completion is not supported by the current platform. + +\wxheading{See also} + +\helpref{AutoComplete}{wxtextctrlautocomplete} + \membersection{wxTextCtrl::CanCopy}\label{wxtextctrlcancopy}