- public:
- wxInetCacheNode(const wxString& l, const wxString& m) : wxObject() {m_Temp = l; m_Mime = m;}
- const wxString& GetTemp() const {return m_Temp;}
- const wxString& GetMime() const {return m_Mime;}
+ ~wxTemporaryFileInputStream()
+ {
+ // NB: copied from wxFileInputStream dtor, we need to do it before
+ // wxRemoveFile
+ if (m_file_destroy)
+ {
+ delete m_file;
+ m_file_destroy = false;
+ }
+ wxRemoveFile(m_filename);
+ }
+
+protected:
+ wxString m_filename;