X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4714ef79af518f74214126559ef48607acf89180..e2758e21753c00b8e36f11c003fd6cd0e5137391:/include/wx/ioswrap.h

diff --git a/include/wx/ioswrap.h b/include/wx/ioswrap.h
index 8d2ad899b6..72dee5bbaa 100644
--- a/include/wx/ioswrap.h
+++ b/include/wx/ioswrap.h
@@ -1,24 +1,28 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        ioswrap.h
+// Name:        wx/ioswrap.h
 // Purpose:     includes the correct iostream headers for current compiler
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     03.02.99
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #if wxUSE_STD_IOSTREAM
 
+#include "wx/beforestd.h"
+
 #if wxUSE_IOSTREAMH
-    // N.B. BC++ doesn't have istream.h, ostream.h
 #   include <iostream.h>
 #else
 #   include <iostream>
-#   if defined(__VISUALC__) || defined(__MWERKS__)
-        using namespace std;
-#   endif
+#endif
+
+#include "wx/afterstd.h"
+
+#ifdef __WXMSW__
+#   include "wx/msw/winundef.h"
 #endif
 
 #endif