Probably your problem is here:

    ListTreeModel->iter_swap(iter, iter--)


Because of the post-decrement what you are doing is the same as:
ListTreeModel->iter_swap(iter, iter)
and then iter - 1

    // But if iter is the first element from the list the code isn't work
properly

You are doing "begin() != iter" so you are excluding the first element
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to