X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..107ea8f0694830232c7df4a1568b707111c04649:/interface/wx/txtstrm.h

diff --git a/interface/wx/txtstrm.h b/interface/wx/txtstrm.h
index 13da49c22f..94ff44ae3a 100644
--- a/interface/wx/txtstrm.h
+++ b/interface/wx/txtstrm.h
@@ -65,8 +65,7 @@ public:
             <b>In Unicode build only:</b> The encoding converter used to
             convert the bytes in the underlying input stream to characters.
     */
-    wxTextInputStream(wxInputStream& stream,
-                      const wxString& sep = " \t",
+    wxTextInputStream(wxInputStream& stream, const wxString& sep = " \t",
                       const wxMBConv& conv = wxConvAuto());
 
     /**
@@ -240,7 +239,7 @@ public:
 
         Also calls Flush().
     */
-    ~wxTextOutputStream();
+    virtual ~wxTextOutputStream();
 
     /**
         Flushes the stream.
@@ -262,7 +261,7 @@ public:
     /**
         Writes a character to the stream.
     */
-    void PutChar(wxChar c);
+    wxTextOutputStream& PutChar(wxChar c);
 
     /**
         Set the end-of-line mode. One of ::wxEOL_NATIVE, ::wxEOL_DOS,