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
This commit is contained in:
@@ -76,11 +76,11 @@ public:
|
|||||||
|
|
||||||
// error testing
|
// error testing
|
||||||
wxStreamError GetLastError() const { return m_lasterror; }
|
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(); }
|
bool operator!() const { return !IsOk(); }
|
||||||
|
|
||||||
// reset the stream state
|
// 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
|
// deprecated (doesn't make sense!), don't use
|
||||||
virtual size_t GetSize() const { return 0; }
|
virtual size_t GetSize() const { return 0; }
|
||||||
|
Reference in New Issue
Block a user