Added test for wxTreeCtrl::GetChildrenCount()
Fixed Reparent (added heaps of debug code for this) Small mods to glcanvas git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -695,6 +695,9 @@ gtk_myfixed_remove (GtkContainer *container,
|
||||
|
||||
gtk_widget_unparent (widget);
|
||||
|
||||
/* security checks */
|
||||
g_return_if_fail (GTK_IS_WIDGET (widget));
|
||||
|
||||
myfixed->children = g_list_remove_link (myfixed->children, children);
|
||||
g_list_free (children);
|
||||
g_free (child);
|
||||
@@ -702,6 +705,9 @@ gtk_myfixed_remove (GtkContainer *container,
|
||||
if (was_visible && GTK_WIDGET_VISIBLE (container))
|
||||
gtk_widget_queue_resize (GTK_WIDGET (container));
|
||||
|
||||
/* security checks */
|
||||
g_return_if_fail (GTK_IS_WIDGET (widget));
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user