X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c282e47d8f2179954ca40688677961c169688084..bb996f289574defb0ae4339ae8e46ff3cf6fa54c:/src/gtk/animate.cpp diff --git a/src/gtk/animate.cpp b/src/gtk/animate.cpp index 6526c699a1..a70e92e872 100644 --- a/src/gtk/animate.cpp +++ b/src/gtk/animate.cpp @@ -363,20 +363,8 @@ void wxAnimationCtrl::DisplayStaticImage() if (m_bmpStaticReal.IsOk()) { // show inactive bitmap - GdkBitmap *mask = NULL; - if (m_bmpStaticReal.GetMask()) - mask = m_bmpStaticReal.GetMask()->GetBitmap(); - - if (m_bmpStaticReal.HasPixbuf()) - { - gtk_image_set_from_pixbuf(GTK_IMAGE(m_widget), + gtk_image_set_from_pixbuf(GTK_IMAGE(m_widget), m_bmpStaticReal.GetPixbuf()); - } - else - { - gtk_image_set_from_pixmap(GTK_IMAGE(m_widget), - m_bmpStaticReal.GetPixmap(), mask); - } } else {