# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1301536006 0 # Node ID 39a74ebfdd0dd34c213574e8f068e0254cc7b1d9 # Parent 543e591c69a3582dea5ac051e4d42d98cac179c5 Added WM_PAINT to the scrollbox window procedure to get rid of the dead area between the 2 scrollbars. diff -r 543e591c69a3 -r 39a74ebfdd0d os2/dw.c --- a/os2/dw.c Thu Mar 31 01:37:18 2011 +0000 +++ b/os2/dw.c Thu Mar 31 01:46:46 2011 +0000 @@ -1615,6 +1615,18 @@ { switch(msg) { + case WM_PAINT: + { + HPS hpsPaint; + RECTL rclPaint; + + hpsPaint = WinBeginPaint(hWnd, 0, 0); + WinQueryWindowRect(hWnd, &rclPaint); + WinFillRect(hpsPaint, &rclPaint, CLR_PALEGRAY); + WinEndPaint(hpsPaint); + + break; + } case WM_HSCROLL: case WM_VSCROLL: {