Mercurial > dwindows
diff template/dw.c @ 1371:896347a9be19
Initial versions of dw_menu_delete_item() on OS/2 and Windows.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 22 Nov 2011 20:46:37 +0000 |
parents | dbd507f42947 |
children | 156e32814c83 |
line wrap: on
line diff
--- a/template/dw.c Sun Nov 20 16:34:44 2011 +0000 +++ b/template/dw.c Tue Nov 22 20:46:37 2011 +0000 @@ -2415,6 +2415,19 @@ } /* + * Deletes the menu item specified. + * Parameters: + * menu: The handle to the menu in which the item was appended. + * id: Menuitem id. + * Returns: + * DW_ERROR_NONE (0) on success or DW_ERROR_UNKNOWN on failure. + */ +int API dw_menu_delete_item(HMENUI menux, unsigned long id) +{ + return DW_ERROR_UNKNOWN; +} + +/* * Pops up a context menu at given x and y coordinates. * Parameters: * menu: The handle the the existing menu.