]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/textctrl.h
pen and brush are platform neutral on osx
[wxWidgets.git] / interface / wx / textctrl.h
index e72d53148454571042beb73da3d6faadb6d2d369..3f68fa92f3f6fb72889e065d635df3f3b670bc0c 100644 (file)
@@ -1568,21 +1568,17 @@ public:
 
     @code
     using namespace std;
-
-      wxTextCtrl *text = new wxTextCtrl(...);
-
-      {
+    wxTextCtrl* text = new wxTextCtrl(...);
+    {
         wxStreamToTextRedirector redirect(text);
 
         // this goes to the text control
-        cout  "Hello, text!"  endl;
-      }
-
-      // this goes somewhere else, presumably to stdout
-      cout  "Hello, console!"  endl;
+        cout << "Hello, text!" << endl;
+    }
+    // this goes somewhere else, presumably to stdout
+    cout << "Hello, console!" << endl;
     @endcode
 
-
     @library{wxcore}
     @category{logging}