# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1052613909 0 # Node ID 765ec42ee2e4df050060058581ffdfa15152f860 # Parent 4c084ec3e17652305ff0f996cc2a8018c760a137 Minor fix, we need to check the parent of the container widget instead of the combobox for the fill color. diff -r 4c084ec3e176 -r 765ec42ee2e4 os2/dw.c --- a/os2/dw.c Sun May 11 00:33:33 2003 +0000 +++ b/os2/dw.c Sun May 11 00:45:09 2003 +0000 @@ -1741,7 +1741,7 @@ break; case WM_PAINT: { - HWND entry, parent = WinQueryWindow(hWnd, QW_PARENT); + HWND entry, frame = (HWND)dw_window_get_data(hWnd, "_dw_combo_box"), parent = WinQueryWindow(frame, QW_PARENT); HPS hpsPaint; POINTL ptl; unsigned long width, height, thumbheight = 0;