From: Vadim Zeitlin Date: Mon, 2 Apr 2012 16:07:44 +0000 (+0000) Subject: Document wxStreamBuffer::BufMode enum and fix dtor. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/554b7d9f8da9ee75b7922060ca063b058d8b3b5b Document wxStreamBuffer::BufMode enum and fix dtor. Document the enum as it's used as parameter type by other methods and so needs to be declared to make the header parsable. Also fix wxStreamBuffer dtor documentation which was missing a tilde. Closes #14174. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/stream.h b/interface/wx/stream.h index e5fb42d385..99740280a7 100644 --- a/interface/wx/stream.h +++ b/interface/wx/stream.h @@ -150,6 +150,13 @@ protected: class wxStreamBuffer { public: + /** BufMode flags */ + enum BufMode + { + read, + write, + read_write + }; /** Constructor, creates a new stream buffer using @a stream as a parent stream @@ -241,7 +248,7 @@ public: Destructor. It finalizes all IO calls and frees all internal buffers if necessary. */ - wxStreamBuffer(); + ~wxStreamBuffer(); /** Fill the IO buffer.