]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ioswrap.h
compilation fix for some build configurations (forward declare wxMenuItem)
[wxWidgets.git] / include / wx / ioswrap.h
index e77e74033d99643b5c87407d9bc11dc3f1d6341c..72dee5bbaaca7107389c101f691049dd83466bed 100644 (file)
@@ -1,25 +1,30 @@
 ///////////////////////////////////////////////////////////////////////////////
-// 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
-  // wxUSE_STD_IOSTREAM
\ No newline at end of file
+
+#endif
+  // wxUSE_STD_IOSTREAM
+