]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/animate.cpp
make the length of string proportional to the parameter to study test time dependency...
[wxWidgets.git] / src / gtk / animate.cpp
index 22cd588406e3a9a55a4ca21bad35e2a7c311fe38..67dd5aac993de435dcdaba63c891cbca5eae6fd1 100644 (file)
@@ -211,6 +211,7 @@ bool wxAnimationCtrl::Create( wxWindow *parent, wxWindowID id,
     SetWindowStyle(style);
 
     m_widget = gtk_image_new();
+    g_object_ref(m_widget);
     gtk_widget_show(m_widget);
 
     m_parent->DoAddChild( this );