-class wxFileInputStream: virtual public wxFile, public wxInputStream {
- DECLARE_CLASS(wxFileInputStream)
+// Disable warnings such as
+// 'wxFileStream' : inherits 'wxFileInputStream::Peek' via dominance
+
+#ifdef _MSC_VER
+#pragma warning(disable:4250)
+#endif
+
+class wxFileStreamBase {
+protected:
+ wxFile *m_file;
+ bool m_file_destroy;
+};
+
+class wxFileInputStream: public virtual wxInputStream,
+ public virtual wxFileStreamBase {