]> git.saurik.com Git - wxWidgets.git/commitdiff
ixed compilation for wxUSE_STREAMS == 0
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 23 May 2002 21:23:10 +0000 (21:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 23 May 2002 21:23:10 +0000 (21:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/image.h

index c288bb44a3a3286e7b3fc59b1d5b4f6a8af9508a..7718cacdeb92ac5c93c9b2ef31fd144706dc0bf9 100644 (file)
@@ -69,10 +69,10 @@ public:
 protected:
 #if wxUSE_STREAMS
     virtual bool DoCanRead( wxInputStream& stream ) = 0;
-#endif // wxUSE_STREAMS
 
     // save the stream position, call DoCanRead() and restore the position
     bool CallDoCanRead(wxInputStream& stream);
+#endif // wxUSE_STREAMS
 
     wxString  m_name;
     wxString  m_extension;