]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/iosfwrap.h
added iosfwrap.h (wrapper for <iosfwd>)
[wxWidgets.git] / include / wx / iosfwrap.h
diff --git a/include/wx/iosfwrap.h b/include/wx/iosfwrap.h
new file mode 100644 (file)
index 0000000..00e7842
--- /dev/null
@@ -0,0 +1,23 @@
+///////////////////////////////////////////////////////////////////////////////
+// Name:        wx/iosfwrap.h
+// Purpose:     includes the correct stream-related forward declarations
+// Author:      Jan van Dijk
+// Modified by:
+// Created:     18.12.2002
+// RCS-ID:      $Id$
+// Copyright:   (c) 2002 Jan van Dijk <jan@etpmod.phys.tue.nl>
+// Licence:     wxWindows license
+///////////////////////////////////////////////////////////////////////////////
+
+#if wxUSE_STD_IOSTREAM
+
+#if wxUSE_IOSTREAMH
+    // There is no pre-ANSI iosfwd header (?). We include the full decarations.
+#   include <iostream.h>
+#else
+#   include <iosfwd>
+#endif
+
+#endif
+  // wxUSE_STD_IOSTREAM
+