From: Vadim Zeitlin Date: Sun, 28 Feb 2010 11:08:26 +0000 (+0000) Subject: Include the real iostream header and not just iosfwd from wx/stdstream.h. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eb3a3cbbd3da3d03476de447e4cf1f7818e56b50 Include the real iostream header and not just iosfwd from wx/stdstream.h. 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 seems to work under most systems but it does not under IRIX. So include the full (or ) 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 --- diff --git a/include/wx/stdstream.h b/include/wx/stdstream.h index dd11fd660d..a973bbb768 100644 --- a/include/wx/stdstream.h +++ b/include/wx/stdstream.h @@ -16,9 +16,9 @@ #if wxUSE_STD_IOSTREAM -#include #include "wx/defs.h" #include "wx/stream.h" +#include "wx/ioswrap.h" // ========================================================================== // wxStdInputStreamBuffer