Compare commits

...

1 Commits

Author SHA1 Message Date
Bryan Petty
1fda7adcfb This commit was manufactured by cvs2svn to create tag 'wxPy_2_8_0_1'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/wxPy_2_8_0_1@44015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-19 13:49:26 +00:00
5 changed files with 38 additions and 5 deletions

7
debian/changelog vendored
View File

@@ -1,3 +1,10 @@
wxwidgets2.8 (2.8.0.1-0) unstable; urgency=low
* Add wxSearchCtrl
* Official wxPython release
-- Robin Dunn <robin@alldunn.com> Mon, 11 Dec 2006 18:50:29 -0800
wxwidgets2.8 (2.8.0.0-0rc3) unstable; urgency=low
* wxFileSystem::OpenFile() takes wxFS_SEEKABLE by default now.

View File

@@ -31,7 +31,7 @@ public:
// accessors
bool Ok() const { return IsOk(); }
bool IsOk() const {return m_isInit; }
bool IsOk() const;
unsigned char Red() const { return m_red; }
unsigned char Green() const { return m_green; }

View File

@@ -39,7 +39,7 @@ public:
wxFileOffset GetLength() const;
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; }
protected:
@@ -69,7 +69,7 @@ public:
wxFileOffset GetLength() const;
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; }
protected:
@@ -140,7 +140,7 @@ public:
wxFileOffset GetLength() const;
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; }
protected:
@@ -170,7 +170,7 @@ public:
wxFileOffset GetLength() const;
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; }
protected:

View File

@@ -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
// ----------------------------------------------------------------------------

View File

@@ -63,3 +63,9 @@ void wxColour::FromRGBColor( WXCOLORREF* color )
m_blue = col->blue >> 8;
m_green = col->green >> 8;
}
bool wxColour::IsOk() const
{
return m_isInit;
}