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
...
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 port and does
-nothing under the other platforms.
+Notice that currently this function is only implemented in wxGTK2 and wxMSW
+ports and does nothing under the other platforms.
\newsince{2.9.0}