X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0847dca672bc870e3462bc54b00a39a96c70d3ae..2712e31795ee7ab4de62189b440d702f3f849c0d:/docs/latex/wx/text.tex?ds=sidebyside diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index 9f2d342360..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 ...