]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/animate.cpp
docstrings
[wxWidgets.git] / src / gtk / animate.cpp
index e2c1333636f2035c8edf55c4f75a952700df616e..7b3b798c00ae796e492ca4d4122cb1bb44d8e93b 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);