Compare commits
1 Commits
v3.0.2
...
wxPy_2_8_0
Author | SHA1 | Date | |
---|---|---|---|
|
1fda7adcfb |
7
debian/changelog
vendored
7
debian/changelog
vendored
@@ -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.
|
||||
|
@@ -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; }
|
||||
|
@@ -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:
|
||||
|
@@ -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
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user