changeset 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 165f6ffa8176
children 889f8d47761c
files os2/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Thu Sep 27 03:08:03 2012 +0000
+++ b/os2/dw.c	Thu Sep 27 03:56:48 2012 +0000
@@ -12907,7 +12907,7 @@
  */
 void API dw_window_function(HWND handle, void *function, void *data)
 {
-   WinSendMsg(handle, WM_USER, (MPARAM)function, (MPARAM)data);
+   WinSendMsg(_toplevel_window(handle), WM_USER, (MPARAM)function, (MPARAM)data);
 }
 
 /* Functions for managing the user data lists that are associated with