]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/stream.h
Updated manual regarding image alpha support for TGA handler.
[wxWidgets.git] / interface / wx / stream.h
index 36617cc0912c72a533ec58bd60bd75accae919a0..4f3bb18a4566122b9eeb692a5fe8aa321c1abfa2 100644 (file)
@@ -80,6 +80,18 @@ public:
     */
     virtual bool IsSeekable() const;
 
+    /**
+        Resets the stream state.
+
+        By default, resets the stream to good state, i.e. clears any errors.
+        Since wxWidgets 2.9.3 can be also used to explicitly set the state to
+        the specified error (the @a error argument didn't exist in the previous
+        versions).
+
+        @see GetLastError()
+     */
+    void Reset(wxStreamError error = wxSTREAM_NO_ERROR);
+
     /**
         Returns the opposite of IsOk().
         You can use this function to test the validity of the stream as if