projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed char* to wxChar*
[wxWidgets.git]
/
include
/
wx
/
zstream.h
diff --git
a/include/wx/zstream.h
b/include/wx/zstream.h
index cab4f71e07bd595adfd3d5ac30b9a9b27768e4b3..fa3d534fe90857276ba801f7ca6194ecfb4ac461 100644
(file)
--- a/
include/wx/zstream.h
+++ b/
include/wx/zstream.h
@@
-11,11
+11,15
@@
#ifndef _WX_WXZSTREAM_H__
#define _WX_WXZSTREAM_H__
#ifndef _WX_WXZSTREAM_H__
#define _WX_WXZSTREAM_H__
-#if
def __GNUG__
-#pragma interface
+#if
defined(__GNUG__) && !defined(__APPLE__)
+#pragma interface
"zstream.h"
#endif
#endif
-#include <wx/stream.h>
+#include "wx/defs.h"
+
+#if wxUSE_ZLIB && wxUSE_STREAMS
+
+#include "wx/stream.h"
class WXDLLEXPORT wxZlibInputStream: public wxFilterInputStream {
public:
class WXDLLEXPORT wxZlibInputStream: public wxFilterInputStream {
public:
@@
-33,7
+37,7
@@
class WXDLLEXPORT wxZlibInputStream: public wxFilterInputStream {
class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream {
public:
class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream {
public:
- wxZlibOutputStream(wxOutputStream& stream);
+ wxZlibOutputStream(wxOutputStream& stream
, int level = -1
);
virtual ~wxZlibOutputStream();
void Sync();
virtual ~wxZlibOutputStream();
void Sync();
@@
-48,3
+52,8
@@
class WXDLLEXPORT wxZlibOutputStream: public wxFilterOutputStream {
};
#endif
};
#endif
+ // wxUSE_ZLIB && wxUSE_STREAMS
+
+#endif
+ // _WX_WXZSTREAM_H__
+