X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40ff126ac4ff57ab4aa22a5c7c7ce621479e8739..42eba91294e1c374908b63bdc5f22a5c4c29f110:/include/wx/stream.h diff --git a/include/wx/stream.h b/include/wx/stream.h index ca3b84eb57..c26638a68b 100644 --- a/include/wx/stream.h +++ b/include/wx/stream.h @@ -266,7 +266,8 @@ public: wxCountingOutputStream(); wxFileOffset GetLength() const; - bool Ok() const { return true; } + bool Ok() const { return IsOk(); } + bool IsOk() const { return true; } protected: virtual size_t OnSysWrite(const void *buffer, size_t size);