# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1348593342 0 # Node ID 2b30ff777eeefd4014cd17f006a4097333b7ab78 # Parent 7f549994b633b73530cacea6ff2bc26e17ff3e96 Added dw_window_set_focus() to the template source file. diff -r 7f549994b633 -r 2b30ff777eee template/dw.c --- a/template/dw.c Tue Sep 25 03:06:45 2012 +0000 +++ b/template/dw.c Tue Sep 25 17:15:42 2012 +0000 @@ -2545,10 +2545,23 @@ } /* + * Sets the current focus item for a window/dialog. + * Parameters: + * handle: Handle to the dialog item to be focused. + * Remarks: + * This is for use after showing the window/dialog. + */ +void API dw_window_set_focus(HWND handle) +{ +} + +/* * Sets the default focus item for a window/dialog. * Parameters: * window: Toplevel window or dialog. * defaultitem: Handle to the dialog item to be default. + * Remarks: + * This is for use before showing the window/dialog. */ void API dw_window_default(HWND handle, HWND defaultitem) {