]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sstream.h
wxUSE_XML and wxUSE_XRC build fixes if expat is not enabled
[wxWidgets.git] / include / wx / sstream.h
index 7ff7cf9d83e9e349971a02796408f13df7f004a0..e188c1a00cd8c87d4739e59d97b6b9e69299cd04 100644 (file)
@@ -31,8 +31,9 @@ public:
         m_pos = 0;
     }
 
-protected:
     virtual size_t GetSize() const { return m_str.length(); }
+
+protected:
     virtual off_t OnSysSeek(off_t ofs, wxSeekMode mode);
     virtual off_t OnSysTell() const;
     virtual size_t OnSysRead(void *buffer, size_t size);
@@ -67,6 +68,7 @@ public:
     const wxString& GetString() const { return *m_str; }
 
 protected:
+    virtual off_t OnSysTell() const;
     virtual size_t OnSysWrite(const void *buffer, size_t size);
 
 private: