# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1317843807 0 # Node ID 39a5f5fc76283554eacaae26d7176329f947274a # Parent 5cb7e52f76c75c2446a47494269976b12aa3249e 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 *). diff -r 5cb7e52f76c7 -r 39a5f5fc7628 dw.h --- 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); diff -r 5cb7e52f76c7 -r 39a5f5fc7628 readme --- 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.