Duane Clark <dclark(a)leewardfpga.com> writes:
> This patch, despite being very simple, has the surprising affect of
> causing names of files and icons in the file open dialog of one of my
> apps to become invisible when I change directories. I can get individual
> names to show up again if I click in the general area of the name, and
> all of them show up if I click in the general area of where I know the
> scrollbar to be (it is also invisible).
Does this make any difference?
Index: windows/painting.c
===================================================================
RCS file: /opt/cvs-commit/wine/windows/painting.c,v
retrieving revision 1.58
diff -u -r1.58 painting.c
--- windows/painting.c 2001/10/05 19:47:42 1.58
+++ windows/painting.c 2001/10/08 20:19:22
@@ -712,8 +712,6 @@
if (flags & RDW_UPDATENOW)
{
- /* process pending events and messages before painting */
- MsgWaitForMultipleObjects( 0, NULL, FALSE, 0, QS_ALLINPUT );
if (wndPtr->hrgnUpdate) /* wm_painticon wparam is 1 */
SendMessageW( hWnd, (bIcon) ? WM_PAINTICON : WM_PAINT, bIcon, 0 );
}
@@ -818,6 +816,11 @@
r.top, r.right, r.bottom, hrgnUpdate, flags );
}
}
+
+
+ /* process pending events and messages before painting */
+ if (flags & RDW_UPDATENOW)
+ MsgWaitForMultipleObjects( 0, NULL, FALSE, 0, QS_ALLINPUT );
/* prepare an update region in window coordinates */
--
Alexandre Julliard
julliard(a)winehq.com