]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagtiff.cpp
fix Alt-letter navigation with spin controls (bug 672974)
[wxWidgets.git] / src / common / imagtiff.cpp
index 16c952d297020d7d399ab2730a928017e081e345..741bc364723fdc2940dc672f5b1543413b730f7c 100644 (file)
@@ -47,6 +47,8 @@ extern "C"
 
 IMPLEMENT_DYNAMIC_CLASS(wxTIFFHandler,wxImageHandler)
 
+#if wxUSE_STREAMS
+
 extern "C"
 {
 
@@ -377,8 +379,7 @@ bool wxTIFFHandler::DoCanRead( wxInputStream& stream )
            (hdr[0] == 'M' && hdr[1] == 'M');
 }
 
+#endif  // wxUSE_STREAMS
 
-#endif
-   // wxUSE_LIBTIFF
-
+#endif  // wxUSE_LIBTIFF