wxwidgets/include
Vadim Zeitlin 28c3605f6b Factor out 3 copies of identical code into wxInputStreamPeeker
Resolve the long standing "NOTE" comments about having the same code in
wxAnimationDecoder::CanRead(), wxImage::CanRead() and GetImageCount() by
extracting the common logic into a helper wxInputStreamPeeker class and
using it from all places.

This loses the possibility to log a debug message if rewinding the
stream fails, but this is probably not very valuable and the actual
error should be already logged by SeekI() itself when it fails on a
seekable stream.

No real changes.
2021-12-15 17:50:20 +01:00
..
msvc/wx Use "vc143" version-dependent compiler prefix for MSVS 2022 2021-08-24 23:05:25 +02:00
wx Factor out 3 copies of identical code into wxInputStreamPeeker 2021-12-15 17:50:20 +01:00