]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/anidecod.cpp
handle correctly never/always shown scrollbars in GetClientSize()
[wxWidgets.git] / src / common / anidecod.cpp
index ee6f88ab0a43db7f714586b4db1355419f77c6e9..7c8dd53a99ebe1d81c792748585f4f4dfff0642e 100644 (file)
@@ -304,6 +304,7 @@ bool wxANIDecoder::Load( wxInputStream& stream )
             if (!sm_handler.DoLoadFile(&image, stream, false /* verbose */, -1))
                 return false;
 
+            image.SetType(wxBITMAP_TYPE_ANI);
             m_images.Add(image);
         }
         else