comparison win/dw.c @ 505:2ecbb7963011

Another minor change.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 18 Jan 2004 06:52:50 +0000
parents f3ed8dda02f8
children f1998a89a4d5
comparison
equal deleted inserted replaced
504:7061da3532d7 505:2ecbb7963011
6702 * row: Zero based row of data being set. 6702 * row: Zero based row of data being set.
6703 * data: Pointer to the data to be added. 6703 * data: Pointer to the data to be added.
6704 */ 6704 */
6705 void API dw_filesystem_change_item(HWND handle, int column, int row, void *data) 6705 void API dw_filesystem_change_item(HWND handle, int column, int row, void *data)
6706 { 6706 {
6707 dw_container_change_item(handle, column + 2, row, data); 6707 dw_filesystem_set_item(handle, NULL, column, row, data);
6708 } 6708 }
6709 6709
6710 /* 6710 /*
6711 * Changes an item in specified row and column to the given data. 6711 * Changes an item in specified row and column to the given data.
6712 * Parameters: 6712 * Parameters:
6716 * row: Zero based row of data being set. 6716 * row: Zero based row of data being set.
6717 * data: Pointer to the data to be added. 6717 * data: Pointer to the data to be added.
6718 */ 6718 */
6719 void API dw_filesystem_change_file(HWND handle, int row, char *filename, unsigned long icon) 6719 void API dw_filesystem_change_file(HWND handle, int row, char *filename, unsigned long icon)
6720 { 6720 {
6721 dw_container_change_item(handle, 0, row, (void *)&icon); 6721 dw_filesystem_set_file(handle, NULL, row, filename, icon);
6722 dw_container_change_item(handle, 1, row, (void *)&filename);
6723 } 6722 }
6724 6723
6725 /* 6724 /*
6726 * Sets the width of a column in the container. 6725 * Sets the width of a column in the container.
6727 * Parameters: 6726 * Parameters: