anchor.diff:                          sharedWithCol  = SharedWithCol,
                           uid            = Uid,
                           uidCol         = UidCol,
  -                        hasSubTodo     = HasSubTodo}, Row) ->
  -
  -    wxListCtrl:setItem(List, Row, UidCol,        Uid),
  -    wxListCtrl:setItem(List, Row, StatusCol,     Status),
  -    wxListCtrl:setItem(List, Row, OwnerCol,      Owner),
  -    wxListCtrl:setItem(List, Row, PriorityCol,   Priority),
  -    wxListCtrl:setItem(List, Row, DueTimeCol,    DueTime),
  -    wxListCtrl:setItem(List, Row, DescCol,       colFormat(Desc)),
  -    wxListCtrl:setItem(List, Row, CommentCol,    colFormat(Comment)),
  -    wxListCtrl:setItem(List, Row, SharedWithCol, SharedWith),
  -    wxListCtrl:setItem(List, Row, CreateTimeCol, CreateTime),
  -    wxListCtrl:setItem(List, Row, DoneTimeCol,   DoneTime),
  -
  -    case HasSubTodo of
  +                        hasSubTodo     = HasSubTodo}, Row, Count) ->
  +
  +    case Count > 0 of
  +        true ->
  +            wxListCtrl:setItem(List, Row, UidCol,        Uid),
  +            wxListCtrl:setItem(List, Row, StatusCol,     Status),
  +            wxListCtrl:setItem(List, Row, OwnerCol,      Owner),
  +            wxListCtrl:setItem(List, Row, PriorityCol,   Priority),
  +            wxListCtrl:setItem(List, Row, DueTimeCol,    DueTime),
  +            wxListCtrl:setItem(List, Row, DescCol,       colFormat(Desc)),
  +            wxListCtrl:setItem(List, Row, CommentCol,    colFormat(Comment)),
  +            wxListCtrl:setItem(List, Row, SharedWithCol, SharedWith),
  +            wxListCtrl:setItem(List, Row, CreateTimeCol, CreateTime),
  +            wxListCtrl:setItem(List, Row, DoneTimeCol,   DoneTime),
  +
  +            case HasSubTodo of
  +                false ->
  +                    case Status of
  +                        ?descDone ->
  +                            wxListCtrl:setItemImage(List, Row, 2);
  +                        _ ->
  +                            wxListCtrl:setItemImage(List, Row, 0)
  +                    end;
  +                true ->
  +                    wxListCtrl:setItemImage(List, Row, 1)
  +            end,
  +            setColor(List, Row);
           false ->
  -            case Status of
  -                ?descDone ->
  -                    wxListCtrl:setItemImage(List, Row, 2);
  -                _ ->
  -                    wxListCtrl:setItemImage(List, Row, 0)
  -            end;
  -        true ->
  -            wxListCtrl:setItemImage(List, Row, 1)
  -    end,
  -    setColor(List, Row).
  +            ok
  +    end.
   
   setColor(List, Row) ->
       case Row rem 2 of
  
positive.code:     end,
      setDoneTimeStamp(ETodo, Index, State).
  
  setRowInfo(List, #etodo{priority       = Priority,
                          priorityCol    = PriorityCol,
                          status         = Status,
  
negative.code:                                     ?wxLIST_STATE_SELECTED,
                                      ?wxLIST_STATE_SELECTED);
          _Row ->
              updateGui(makeETodo(#todo{}, User, Columns), 0, State)
      end,
      State.
  %%======================================================================
  