work around g++ 4.3 warning about possibly ambiguous else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
feaa5f91e5
commit
1bfabf3675
@ -640,9 +640,7 @@ wxgtk_tree_model_iter_n_children (GtkTreeModel *tree_model,
|
||||
{
|
||||
GtkWxTreeModel *wxtree_model = (GtkWxTreeModel *) tree_model;
|
||||
g_return_val_if_fail (GTK_IS_WX_TREE_MODEL (wxtree_model), FALSE);
|
||||
|
||||
if (iter != NULL)
|
||||
g_return_val_if_fail (wxtree_model->stamp == iter->stamp, 0);
|
||||
g_return_val_if_fail ( !iter || wxtree_model->stamp == iter->stamp, 0);
|
||||
|
||||
return wxtree_model->internal->iter_n_children( iter );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user