[COMCTL] Fix propsheet flickering
Felix Nawothnig
felix.nawothnig at t-online.de
Tue Jul 5 14:04:18 CDT 2005
This fixes some annoying flicker in winecfg...
ChangeLog:
Don't invalidate the whole propsheet when the page is switched.
-------------- next part --------------
Index: propsheet.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/propsheet.c,v
retrieving revision 1.129
diff -u -p -r1.129 propsheet.c
--- propsheet.c 5 Jul 2005 10:57:37 -0000 1.129
+++ propsheet.c 5 Jul 2005 19:00:40 -0000
@@ -1603,6 +1603,7 @@ static BOOL PROPSHEET_ShowPage(HWND hwnd
ShowWindow(psInfo->proppage[psInfo->active_page].hwndPage, SW_HIDE);
ShowWindow(psInfo->proppage[index].hwndPage, SW_SHOW);
+ UpdateWindow(psInfo->proppage[index].hwndPage);
/* Synchronize current selection with tab control
* It seems to be needed even in case of PSH_WIZARD (no tab controls there) */
@@ -1623,9 +1624,6 @@ static BOOL PROPSHEET_ShowPage(HWND hwnd
ShowWindow(hwndLineHeader, SW_SHOW);
}
- InvalidateRgn(hwndDlg, NULL, TRUE);
- UpdateWindow(hwndDlg);
-
return TRUE;
}
More information about the wine-patches
mailing list