minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -717,7 +717,7 @@ long wxTreeCtrl::GetChild(long item) const {
|
||||
|
||||
p = findGtkTreeItem(item);
|
||||
GList *list = gtk_container_children(GTK_CONTAINER(p));
|
||||
next = GTK_TREE_ITEM(list->data);;
|
||||
next = GTK_TREE_ITEM(list->data);
|
||||
|
||||
if (next != NULL)
|
||||
return (long)gtk_object_get_data(GTK_OBJECT(next), "id");
|
||||
@@ -729,7 +729,7 @@ long wxTreeCtrl::GetFirstVisibleItem(void) const {
|
||||
GtkTreeItem *next = NULL;
|
||||
|
||||
GList *list = gtk_container_children(GTK_CONTAINER(m_anchor));
|
||||
next = GTK_TREE_ITEM(list->data);;
|
||||
next = GTK_TREE_ITEM(list->data);
|
||||
// gtk_container_foreach(GTK_CONTAINER(m_anchor), gtk_treectrl_next_visible_callback, &next);
|
||||
|
||||
if (next != NULL)
|
||||
@@ -744,7 +744,7 @@ long wxTreeCtrl::GetNextVisibleItem(long item) const {
|
||||
|
||||
p = findGtkTreeItem(item);
|
||||
GList *list = gtk_container_children(GTK_CONTAINER(p));
|
||||
next = GTK_TREE_ITEM(list->data);;
|
||||
next = GTK_TREE_ITEM(list->data);
|
||||
// gtk_container_foreach(GTK_CONTAINER(p), gtk_treectrl_next_visible_callback, &next);
|
||||
|
||||
if (next != NULL)
|
||||
|
Reference in New Issue
Block a user