comparison os2/dw.c @ 1800:68e37fee2b05

Similar change for dw_window_function() on OS/2 for consistency.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 27 Sep 2012 03:56:48 +0000
parents 7f549994b633
children 889f8d47761c
comparison
equal deleted inserted replaced
1799:165f6ffa8176 1800:68e37fee2b05
12905 * function: Function pointer to be called. 12905 * function: Function pointer to be called.
12906 * data: Pointer to the data to be passed to the function. 12906 * data: Pointer to the data to be passed to the function.
12907 */ 12907 */
12908 void API dw_window_function(HWND handle, void *function, void *data) 12908 void API dw_window_function(HWND handle, void *function, void *data)
12909 { 12909 {
12910 WinSendMsg(handle, WM_USER, (MPARAM)function, (MPARAM)data); 12910 WinSendMsg(_toplevel_window(handle), WM_USER, (MPARAM)function, (MPARAM)data);
12911 } 12911 }
12912 12912
12913 /* Functions for managing the user data lists that are associated with 12913 /* Functions for managing the user data lists that are associated with
12914 * a given window handle. Used in dw_window_set_data() and 12914 * a given window handle. Used in dw_window_set_data() and
12915 * dw_window_get_data(). 12915 * dw_window_get_data().