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:
@@ -107,6 +107,11 @@ wxFileOffset wxFileInputStream::OnSysTell() const
|
||||
return m_file->Tell();
|
||||
}
|
||||
|
||||
bool wxFileInputStream::IsOk() const
|
||||
{
|
||||
return (wxStreamBase::IsOk() && m_file->IsOpened());
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxFileOutputStream
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -178,6 +183,11 @@ wxFileOffset wxFileOutputStream::GetLength() const
|
||||
return m_file->Length();
|
||||
}
|
||||
|
||||
bool wxFileOutputStream::IsOk() const
|
||||
{
|
||||
return (wxStreamBase::IsOk() && m_file->IsOpened());
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxTempFileOutputStream
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -290,6 +300,11 @@ wxFileOffset wxFFileInputStream::OnSysTell() const
|
||||
return m_file->Tell();
|
||||
}
|
||||
|
||||
bool wxFFileInputStream::IsOk() const
|
||||
{
|
||||
return (wxStreamBase::IsOk() && m_file->IsOpened());
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxFFileOutputStream
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -371,6 +386,11 @@ wxFileOffset wxFFileOutputStream::GetLength() const
|
||||
return m_file->Length();
|
||||
}
|
||||
|
||||
bool wxFFileOutputStream::IsOk() const
|
||||
{
|
||||
return (wxStreamBase::IsOk() && m_file->IsOpened());
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxFFileStream
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user