comparison os2/dw.c @ 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 c68ee60fb8b0
comparison
equal deleted inserted replaced
1736:43accf95bdc3 1737:46c2846e5750
4845 thisheight = 150; 4845 thisheight = 150;
4846 } 4846 }
4847 /* Bitmap/Static */ 4847 /* Bitmap/Static */
4848 else if(strncmp(tmpbuf, "#5", 3)==0) 4848 else if(strncmp(tmpbuf, "#5", 3)==0)
4849 { 4849 {
4850 HBITMAP hbm = (HBITMAP)WinSendMsg(handle, SM_QUERYHANDLE, MPVOID, MPVOID); 4850 HBITMAP hbm = (HBITMAP)dw_window_get_data(handle, "_dw_bitmap");
4851 4851
4852 /* If we got a bitmap handle */ 4852 /* If we got a bitmap handle */
4853 if(hbm) 4853 if(hbm)
4854 { 4854 {
4855 BITMAPINFOHEADER2 bmp; 4855 BITMAPINFOHEADER2 bmp;