A wxFile performs raw file I/O.
This is a very small class designed to minimize the overhead of using it - in fact, there is hardly any overhead at all, but using it brings you automatic error checking and hides differences between platforms and compilers. wxFile also automatically closes the file in its destructor so you won't forget to do so. wxFile is a wrapper around file descriptor. - see also wxFFile for a wrapper around FILE structure.