X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbfb8bcc3fa17e079d4219655b173f8ed2ccc65a..74bf4e6430a42c20491d13e1bb9805e1ee614a95:/samples/docvwmdi/doc.cpp diff --git a/samples/docvwmdi/doc.cpp b/samples/docvwmdi/doc.cpp index 292c280f12..cba38cb497 100644 --- a/samples/docvwmdi/doc.cpp +++ b/samples/docvwmdi/doc.cpp @@ -19,12 +19,17 @@ #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"