#include <math.h>
#include <string.h>
+#if wxUSE_IOSTREAMH
#if defined(__WXMSW__) && !defined(__GNUWIN32__)
#include <strstrea.h>
#else
#include <strstream.h>
+#include <fstream.h>
+#endif
+#else
+#include <strstream>
+#include <fstream>
#endif
-#include <fstream.h>
#include "wx/scrolbar.h"
#include "wx/string.h"