Alexander Nicolaysen Sørnes : wordpad: Prevent white flickering on window resize.
Alexandre Julliard
julliard at winehq.org
Thu Sep 13 07:17:21 CDT 2007
Module: wine
Branch: master
Commit: 7226f88f55c9803a96f6342e97c81aa9d465997d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7226f88f55c9803a96f6342e97c81aa9d465997d
Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date: Tue Sep 11 16:11:48 2007 +0200
wordpad: Prevent white flickering on window resize.
---
programs/wordpad/wordpad.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c
index 4eb7b0f..431e9d7 100644
--- a/programs/wordpad/wordpad.c
+++ b/programs/wordpad/wordpad.c
@@ -3247,7 +3247,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
RegisterClassW(&wc);
rc = registry_read_winrect();
- hMainWnd = CreateWindowExW(0, wszMainWndClass, wszAppTitle, WS_OVERLAPPEDWINDOW,
+ hMainWnd = CreateWindowExW(0, wszMainWndClass, wszAppTitle, WS_CLIPCHILDREN|WS_OVERLAPPEDWINDOW,
rc.left, rc.top, rc.right-rc.left, rc.bottom-rc.top, NULL, NULL, hInstance, NULL);
ShowWindow(hMainWnd, SW_SHOWDEFAULT);
More information about the wine-cvs
mailing list