Renamed wxStream::StreamSize() to wxStream::GetSize()
Add wxStream bool operator !(). Made wxTextStream safe for conversion from/to Mac/DOS/Unix Added wxFrame::Iconize() Applied patch for stippled brushes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -22,7 +22,7 @@ class wxMemoryInputStream: public wxInputStream {
|
||||
public:
|
||||
wxMemoryInputStream(const char *data, size_t length);
|
||||
virtual ~wxMemoryInputStream();
|
||||
virtual size_t StreamSize() const { return m_length; }
|
||||
virtual size_t GetSize() const { return m_length; }
|
||||
|
||||
char Peek();
|
||||
|
||||
@@ -41,7 +41,7 @@ class wxMemoryOutputStream: public wxOutputStream {
|
||||
public:
|
||||
wxMemoryOutputStream(char *data = NULL, size_t length = 0);
|
||||
virtual ~wxMemoryOutputStream();
|
||||
virtual size_t StreamSize() const { return m_o_streambuf->GetLastAccess(); }
|
||||
virtual size_t GetSize() const { return m_o_streambuf->GetLastAccess(); }
|
||||
|
||||
wxStreamBuffer *OutputStreamBuffer() const { return m_o_streambuf; }
|
||||
|
||||
|
Reference in New Issue
Block a user