]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/zstream.h
refactored code to do brush adjustment for bg drawing in only one place
[wxWidgets.git] / include / wx / zstream.h
index 7086472a219794fd56959e29d42f38e45f86e642..1723d93702a42fe6328e5f67fab8a5424dfd5347 100644 (file)
@@ -46,7 +46,7 @@ class WXDLLIMPEXP_BASE wxZlibInputStream: public wxFilterInputStream {
   virtual ~wxZlibInputStream();
 
   char Peek() { return wxInputStream::Peek(); }
-  size_t GetSize() const { return wxInputStream::GetSize(); }
+  wxFileOffset GetLength() const { return wxInputStream::GetLength(); }
 
   static bool CanHandleGZip();
 
@@ -72,7 +72,7 @@ class WXDLLIMPEXP_BASE wxZlibOutputStream: public wxFilterOutputStream {
   virtual ~wxZlibOutputStream();
 
   void Sync() { DoFlush(false); }
-  size_t GetSize() const { return (size_t)m_pos; }
+  wxFileOffset GetLength() const { return m_pos; }
 
   static bool CanHandleGZip();