Mercurial > dwindows
changeset 1205:39a5f5fc7628
Added dw_container_set_row_data() and dw_container_change_row_data() macros which just call dw_container_set/change_row_title() but with (void *).
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 05 Oct 2011 19:43:27 +0000 |
parents | 5cb7e52f76c7 |
children | c7bb48cda53a |
files | dw.h readme |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dw.h Fri Sep 30 05:03:25 2011 +0000 +++ b/dw.h Wed Oct 05 19:43:27 2011 +0000 @@ -1576,6 +1576,8 @@ void API dw_container_set_column_width(HWND handle, int column, int width); void API dw_container_set_row_title(void *pointer, int row, char *title); void API dw_container_change_row_title(HWND handle, int row, char *title); +#define dw_container_set_row_data(a, b, c) dw_container_set_row_title(a, b, (char *)c) +#define dw_container_change_row_data(a, b, c) dw_container_change_row_title(a, b, (char *)c) void API dw_container_insert(HWND handle, void *pointer, int rowcount); void API dw_container_clear(HWND handle, int redraw); void API dw_container_delete(HWND handle, int rowcount);
--- a/readme Fri Sep 30 05:03:25 2011 +0000 +++ b/readme Wed Oct 05 19:43:27 2011 +0000 @@ -50,6 +50,8 @@ This should work on all platforms except old versions of Windows. Added the subversion revision number as the third Dynamic Windows version number when building from a subversion source tree. +Added dw_container_set_row_data() and dw_container_change_row_data() macros + which just call dw_container_set/change_row_title() but with (void *). Improved container optimization on Mac, header width now taken into account. Fixes for incorrect return codes from the dw_event_* functions on Windows. Fixes for incorrect behavior on key_press callbacks on Mac and Windows.