fvisibility-inlines-hidden fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
|||||||
wxFileOffset GetLength() const;
|
wxFileOffset GetLength() const;
|
||||||
|
|
||||||
bool Ok() const { return IsOk(); }
|
bool Ok() const { return IsOk(); }
|
||||||
virtual bool IsOk() const { return (wxStreamBase::IsOk() && m_file->IsOpened()); }
|
virtual bool IsOk() const;
|
||||||
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
|
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -69,7 +69,7 @@ public:
|
|||||||
wxFileOffset GetLength() const;
|
wxFileOffset GetLength() const;
|
||||||
|
|
||||||
bool Ok() const { return IsOk(); }
|
bool Ok() const { return IsOk(); }
|
||||||
virtual bool IsOk() const { return (wxStreamBase::IsOk() && m_file->IsOpened()); }
|
virtual bool IsOk() const;
|
||||||
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
|
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -140,7 +140,7 @@ public:
|
|||||||
wxFileOffset GetLength() const;
|
wxFileOffset GetLength() const;
|
||||||
|
|
||||||
bool Ok() const { return IsOk(); }
|
bool Ok() const { return IsOk(); }
|
||||||
virtual bool IsOk() const { return (wxStreamBase::IsOk() && m_file->IsOpened()); }
|
virtual bool IsOk() const;
|
||||||
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
|
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -170,7 +170,7 @@ public:
|
|||||||
wxFileOffset GetLength() const;
|
wxFileOffset GetLength() const;
|
||||||
|
|
||||||
bool Ok() const { return IsOk(); }
|
bool Ok() const { return IsOk(); }
|
||||||
virtual bool IsOk() const { return (wxStreamBase::IsOk() && m_file->IsOpened()); }
|
virtual bool IsOk() const ;
|
||||||
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
|
bool IsSeekable() const { return m_file->GetKind() == wxFILE_KIND_DISK; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@@ -107,6 +107,11 @@ wxFileOffset wxFileInputStream::OnSysTell() const
|
|||||||
return m_file->Tell();
|
return m_file->Tell();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool wxFileInputStream::IsOk() const
|
||||||
|
{
|
||||||
|
return (wxStreamBase::IsOk() && m_file->IsOpened());
|
||||||
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxFileOutputStream
|
// wxFileOutputStream
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -178,6 +183,11 @@ wxFileOffset wxFileOutputStream::GetLength() const
|
|||||||
return m_file->Length();
|
return m_file->Length();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool wxFileOutputStream::IsOk() const
|
||||||
|
{
|
||||||
|
return (wxStreamBase::IsOk() && m_file->IsOpened());
|
||||||
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxTempFileOutputStream
|
// wxTempFileOutputStream
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -290,6 +300,11 @@ wxFileOffset wxFFileInputStream::OnSysTell() const
|
|||||||
return m_file->Tell();
|
return m_file->Tell();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool wxFFileInputStream::IsOk() const
|
||||||
|
{
|
||||||
|
return (wxStreamBase::IsOk() && m_file->IsOpened());
|
||||||
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxFFileOutputStream
|
// wxFFileOutputStream
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -371,6 +386,11 @@ wxFileOffset wxFFileOutputStream::GetLength() const
|
|||||||
return m_file->Length();
|
return m_file->Length();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool wxFFileOutputStream::IsOk() const
|
||||||
|
{
|
||||||
|
return (wxStreamBase::IsOk() && m_file->IsOpened());
|
||||||
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxFFileStream
|
// wxFFileStream
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user