comparison os2/dw.c @ 406:765ec42ee2e4

Minor fix, we need to check the parent of the container widget instead of the combobox for the fill color.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 11 May 2003 00:45:09 +0000
parents 4c084ec3e176
children fecd529ba9d4
comparison
equal deleted inserted replaced
405:4c084ec3e176 406:765ec42ee2e4
1739 case WM_SETFOCUS: 1739 case WM_SETFOCUS:
1740 _run_event(hWnd, msg, mp1, mp2); 1740 _run_event(hWnd, msg, mp1, mp2);
1741 break; 1741 break;
1742 case WM_PAINT: 1742 case WM_PAINT:
1743 { 1743 {
1744 HWND entry, parent = WinQueryWindow(hWnd, QW_PARENT); 1744 HWND entry, frame = (HWND)dw_window_get_data(hWnd, "_dw_combo_box"), parent = WinQueryWindow(frame, QW_PARENT);
1745 HPS hpsPaint; 1745 HPS hpsPaint;
1746 POINTL ptl; 1746 POINTL ptl;
1747 unsigned long width, height, thumbheight = 0; 1747 unsigned long width, height, thumbheight = 0;
1748 ULONG color; 1748 ULONG color;
1749 1749