Mercurial > dwindows
changeset 1737:46c2846e5750
Need to get the bitmap from window data instead on OS/2 now.
Since we are no longer using SM_SETHANDLE, SM_QUERYHANDLE no
longer works.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 17 May 2012 18:13:34 +0000 |
parents | 43accf95bdc3 |
children | d93e860c38d1 |
files | os2/dw.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/os2/dw.c Thu May 17 17:50:31 2012 +0000 +++ b/os2/dw.c Thu May 17 18:13:34 2012 +0000 @@ -4847,7 +4847,7 @@ /* Bitmap/Static */ else if(strncmp(tmpbuf, "#5", 3)==0) { - HBITMAP hbm = (HBITMAP)WinSendMsg(handle, SM_QUERYHANDLE, MPVOID, MPVOID); + HBITMAP hbm = (HBITMAP)dw_window_get_data(handle, "_dw_bitmap"); /* If we got a bitmap handle */ if(hbm)