changeset 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 a8124a9561c7
files os2/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;