X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d44aaf824396d1029bab018f4613e3952daa9ee..a2115c88f381b95cf6d423a5d3128ccbe20c4fa1:/include/wx/objstrm.h?ds=sidebyside

diff --git a/include/wx/objstrm.h b/include/wx/objstrm.h
index 699492671c..8d1970df1f 100644
--- a/include/wx/objstrm.h
+++ b/include/wx/objstrm.h
@@ -16,6 +16,9 @@
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_STREAMS && wxUSE_SERIAL
+
 #include "wx/object.h"
 #include "wx/string.h"
 #include "wx/stream.h"
@@ -81,3 +84,7 @@ class wxObjectInputStream : public wxFilterInputStream {
 };
 
 #endif
+  // wxUSE_STREAMS && wxUSE_SERIAL
+
+#endif
+// _WX_WXOBJSTRM_H__