+wxImage wxAnimation::GetFrame(size_t i) const
+{
+ return wxNullImage;
+}
+
+wxSize wxAnimation::GetSize() const
+{
+ return wxSize(gdk_pixbuf_animation_get_width(m_pixbuf),
+ gdk_pixbuf_animation_get_height(m_pixbuf));
+}
+
+void wxAnimation::UnRef()
+{
+ if (m_pixbuf)
+ g_object_unref(m_pixbuf);
+ m_pixbuf = NULL;
+}
+
+void wxAnimation::SetPixbuf(GdkPixbufAnimation* p)
+{
+ UnRef();
+ m_pixbuf = p;
+ if (m_pixbuf)
+ g_object_ref(m_pixbuf);
+}