Mercurial > dwindows
diff win/dw.c @ 1769:d81bebc5c8cc
Mark and I decided to change dw_box_remove*() to dw_box_unpack*() for consistency.
This commit should change all exports and references appropriately.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 06 Jul 2012 10:51:28 +0000 |
parents | 47e503ecc812 |
children | 86ace55df07b |
line wrap: on
line diff
--- a/win/dw.c Sun Jul 01 09:56:49 2012 +0000 +++ b/win/dw.c Fri Jul 06 10:51:28 2012 +0000 @@ -4402,7 +4402,7 @@ /* If it is a desktop window let WM_DESTROY handle it */ if(parent != HWND_DESKTOP) { - dw_box_remove(handle); + dw_box_unpack(handle); _free_window_memory(handle, 0); EnumChildWindows(handle, _free_window_memory, 0); } @@ -7187,7 +7187,7 @@ * Returns: * DW_ERROR_NONE on success and DW_ERROR_GENERAL on failure. */ -int API dw_box_remove(HWND handle) +int API dw_box_unpack(HWND handle) { HWND parent = GetParent(handle); @@ -7255,7 +7255,7 @@ * Returns: * Handle to the removed item on success, 0 on failure or padding. */ -HWND API dw_box_remove_at_index(HWND box, int index) +HWND API dw_box_unpack_at_index(HWND box, int index) { Box *thisbox = (Box *)GetWindowLongPtr(box, GWLP_USERDATA);