+wxFileInputStream::wxFileInputStream(wxFile& file)
+{
+ m_file = &file;
+ m_file_destroy = FALSE;
+ m_i_streambuf->SetBufferIO(1024);
+}
+
+wxFileInputStream::wxFileInputStream(int fd)
+{
+ m_file = new wxFile(fd);
+ m_file_destroy = TRUE;
+ m_i_streambuf->SetBufferIO(1024);
+}
+