#9589: Documentation Corrections for textctrl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1568,21 +1568,17 @@ public:
|
|||||||
|
|
||||||
@code
|
@code
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
wxTextCtrl* text = new wxTextCtrl(...);
|
wxTextCtrl* text = new wxTextCtrl(...);
|
||||||
|
|
||||||
{
|
{
|
||||||
wxStreamToTextRedirector redirect(text);
|
wxStreamToTextRedirector redirect(text);
|
||||||
|
|
||||||
// this goes to the text control
|
// this goes to the text control
|
||||||
cout "Hello, text!" endl;
|
cout << "Hello, text!" << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// this goes somewhere else, presumably to stdout
|
// this goes somewhere else, presumably to stdout
|
||||||
cout "Hello, console!" endl;
|
cout << "Hello, console!" << endl;
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
|
|
||||||
@library{wxcore}
|
@library{wxcore}
|
||||||
@category{logging}
|
@category{logging}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user