]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/animate.cpp
disable wxGLCanvas for wxMGL and wxDFB which don't support it
[wxWidgets.git] / src / gtk / animate.cpp
index e2c1333636f2035c8edf55c4f75a952700df616e..05285756e62ed4d64dffbb6970b664edf436f208 100644 (file)
@@ -211,7 +211,7 @@ bool wxAnimationCtrl::Create( wxWindow *parent, wxWindowID id,
     m_parent->DoAddChild( this );
 
     PostCreation(size);
-    SetBestSize(size);
+    SetInitialSize(size);
 
     if (anim.IsOk())
         SetAnimation(anim);
@@ -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())