Mercurial > dwindows
diff win/dw.c @ 513:7755599311d4
Fixes search and replace errors.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 09 Mar 2004 05:58:52 +0000 |
parents | 80dbd5a1f403 |
children | 08d770271709 |
line wrap: on
line diff
--- a/win/dw.c Tue Mar 09 03:58:54 2004 +0000 +++ b/win/dw.c Tue Mar 09 05:58:52 2004 +0000 @@ -5766,7 +5766,7 @@ * handle: Handle to the MLE. * line: Line to be visible. */ -void API dw_mle_set_cursor_visible(HWND handle, int line) +void API dw_mle_set_visible(HWND handle, int line) { int point = (int)SendMessage(handle, EM_LINEINDEX, (WPARAM)line, 0); dw_mle_set_cursor(handle, point); @@ -5778,7 +5778,7 @@ * handle: Handle to the MLE. * state: TRUE if it can be edited, FALSE for readonly. */ -void API dw_mle_set_cursor_editable(HWND handle, int state) +void API dw_mle_set_editable(HWND handle, int state) { SendMessage(handle, EM_SETREADONLY, (WPARAM)(state ? FALSE : TRUE), 0); } @@ -5789,7 +5789,7 @@ * handle: Handle to the MLE. * state: TRUE if it wraps, FALSE if it doesn't. */ -void API dw_mle_set_cursor_word_wrap(HWND handle, int state) +void API dw_mle_set_word_wrap(HWND handle, int state) { /* If ES_AUTOHSCROLL is not set and there is not * horizontal scrollbar it word wraps. @@ -6188,7 +6188,7 @@ * item: Handle of the item to be modified. * itemdata: User defined data to be associated with item. */ -void API dw_tree_item_change_data(HWND handle, HTREEITEM item, void *itemdata) +void API dw_tree_item_set_data(HWND handle, HTREEITEM item, void *itemdata) { TVITEM tvi; void **ptrs;