From 85e5952bfe3a5c4ab34c73468045599431bc962d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 4 Nov 2002 17:16:04 +0000 Subject: [PATCH] use wxSTREAM_NO_ERROR instead of deprecated wxSTREAM_NOERROR (fixes compilation without WXWIN_COMPATIBILITY_2_2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/stream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/stream.h b/include/wx/stream.h index 3b3486c1d1..d08c24693b 100644 --- a/include/wx/stream.h +++ b/include/wx/stream.h @@ -76,11 +76,11 @@ public: // error testing wxStreamError GetLastError() const { return m_lasterror; } - bool IsOk() const { return GetLastError() == wxSTREAM_NOERROR; } + bool IsOk() const { return GetLastError() == wxSTREAM_NO_ERROR; } bool operator!() const { return !IsOk(); } // reset the stream state - void Reset() { m_lasterror = wxSTREAM_NOERROR; } + void Reset() { m_lasterror = wxSTREAM_NO_ERROR; } // deprecated (doesn't make sense!), don't use virtual size_t GetSize() const { return 0; }