]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/streams/zlibstream.cpp
Documentation patch from Olly Betts
[wxWidgets.git] / tests / streams / zlibstream.cpp
index cf0f0a5362662cc16479ff55ed7a6bfc6be7765c..f70ff1e0e20d06eab8de2c0c90a6cf850efbf2be 100644 (file)
@@ -401,7 +401,9 @@ void zlibStream::doDecompress_ExternalData(const unsigned char *data, const char
     {
     case wxZLIB_NO_HEADER:
         break;
+#if WXWIN_COMPATIBILITY_2_4
     case wxZLIB_24COMPATIBLE:
+#endif
     case wxZLIB_ZLIB:
         if (!(data_size >= 1 && data[0] == 0x78))
             wxLogError(_T("zlib data seems to not be zlib data!"));