]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/animate.cpp
Version updates
[wxWidgets.git] / src / gtk / animate.cpp
index 23b88a192da725945379d54ce6985abce26df537..05285756e62ed4d64dffbb6970b664edf436f208 100644 (file)
@@ -211,9 +211,9 @@ bool wxAnimationCtrl::Create( wxWindow *parent, wxWindowID id,
     m_parent->DoAddChild( this );
 
     PostCreation(size);
-    SetBestSize(size);
+    SetInitialSize(size);
 
-    if (anim != wxNullAnimation)
+    if (anim.IsOk())
         SetAnimation(anim);
 
     // init the timer used for animation
@@ -320,7 +320,7 @@ void wxAnimationCtrl::Stop()
 
 void wxAnimationCtrl::SetInactiveBitmap(const wxBitmap &bmp)
 {
-    wxAnimationCtrlBase::SetInactiveBitmap(bmp);
+    m_bmpStatic = bmp;
 
     // update the pixbuf associated with m_widget now...
     if (!IsPlaying())