Mercurial > dwindows
diff os2/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 | 31edce4598d0 |
children | 0cdfb0c3f4ca |
line wrap: on
line diff
--- a/os2/dw.c Sun Jul 01 09:56:49 2012 +0000 +++ b/os2/dw.c Fri Jul 06 10:51:28 2012 +0000 @@ -4979,7 +4979,7 @@ /* If it is a desktop window let WM_DESTROY handle it */ if(parent != desktop) { - dw_box_remove(handle); + dw_box_unpack(handle); _free_window_memory(frame ? frame : handle); } return WinDestroyWindow(frame ? frame : handle); @@ -7793,7 +7793,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 = WinQueryWindow(handle, QW_PARENT); @@ -7863,7 +7863,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 = WinQueryWindowPtr(box, QWP_USER);