]> git.saurik.com Git - wxWidgets.git/commitdiff
Include the real iostream header and not just iosfwd from wx/stdstream.h.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Feb 2010 11:08:26 +0000 (11:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Feb 2010 11:08:26 +0000 (11:08 +0000)
We need to include full [io]stream declaration and not just forward declare
them to be able to define classes deriving from them. Surprisingly, including
just <iosfwd> seems to work under most systems but it does not under IRIX.

So include the full <iostream> (or <iostream.h>) to be sure to get what we
need.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/stdstream.h

index dd11fd660dc0be5a40703fc057ad3a37d04a13ed..a973bbb7688ed2bbb38013d8637fccdcf06d8619 100644 (file)
@@ -16,9 +16,9 @@
 
 #if wxUSE_STD_IOSTREAM
 
-#include <iosfwd>
 #include "wx/defs.h"
 #include "wx/stream.h"
+#include "wx/ioswrap.h"
 
 // ==========================================================================
 // wxStdInputStreamBuffer