]> git.saurik.com Git - wxWidgets.git/commitdiff
include iostream header when using std streams
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 Nov 2006 10:42:53 +0000 (10:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 4 Nov 2006 10:42:53 +0000 (10:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/docvwmdi/doc.cpp

index 292c280f12b3792b9391e135809268ea139d6c3a..cba38cb4979fb96f7432463c832b7b07ee86369b 100644 (file)
 #ifndef WX_PRECOMP
 #include "wx/wx.h"
 #endif
-#include "wx/txtstrm.h"
 
 #if !wxUSE_DOC_VIEW_ARCHITECTURE
 #error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in setup.h!
 #endif
 
+#if wxUSE_STD_IOSTREAM
+    #include "wx/ioswrap.h"
+#else
+    #include "wx/txtstrm.h"
+#endif
+
 #include "doc.h"
 #include "view.h"