Update of /cvsroot/perl-win32-gui/Win32-GUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24162
Modified Files: GUI_Helpers.cpp Log Message: Change GetDC to GetDCEx in DrawSplitter to fix problem drawing splitter over windows that would normally be clipped from the DC obtained by GetDC. Index: GUI_Helpers.cpp =================================================================== RCS file: /cvsroot/perl-win32-gui/Win32-GUI/GUI_Helpers.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** GUI_Helpers.cpp 13 Apr 2006 22:17:07 -0000 1.18 --- GUI_Helpers.cpp 16 May 2006 18:36:11 -0000 1.19 *************** *** 607,611 **** hbr = CreatePatternBrush(hbm); ! hdc = GetDC(hwnd); SetBrushOrgEx(hdc, x, y, NULL); --- 607,615 ---- hbr = CreatePatternBrush(hbm); ! /* get a DC on which we can draw, even if the ! * class has CS_CLIPCHILDREN or the window ! * has WS_CLIPCHILDREN ! */ ! hdc = GetDCEx(hwnd, NULL, DCX_PARENTCLIP); SetBrushOrgEx(hdc, x, y, NULL);