Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6c9edce1
Commit
6c9edce1
authored
Jul 19, 2010
by
Dylan Smith
Committed by
Alexandre Julliard
Jul 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Reduce unnecessary flicker from extra background erasing.
parent
dd789d50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
print.c
programs/wordpad/print.c
+1
-1
wordpad.c
programs/wordpad/wordpad.c
+3
-3
No files found.
programs/wordpad/print.c
View file @
6c9edce1
...
...
@@ -781,7 +781,7 @@ static void update_scaled_preview(HWND hMainWnd)
!
is_last_preview_page
(
preview
.
page
));
}
InvalidateRect
(
hwndPreview
,
NULL
,
TRU
E
);
InvalidateRect
(
hwndPreview
,
NULL
,
FALS
E
);
DeleteDC
(
fr
.
hdcTarget
);
}
...
...
programs/wordpad/wordpad.c
View file @
6c9edce1
...
...
@@ -2701,7 +2701,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
hAccel
=
LoadAcceleratorsW
(
hInstance
,
wszAccelTable
);
wc
.
cbSize
=
sizeof
(
wc
);
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
style
=
0
;
wc
.
lpfnWndProc
=
WndProc
;
wc
.
cbClsExtra
=
0
;
wc
.
cbWndExtra
=
4
;
...
...
@@ -2715,7 +2715,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
wc
.
lpszClassName
=
wszMainWndClass
;
RegisterClassExW
(
&
wc
);
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
style
=
0
;
wc
.
lpfnWndProc
=
preview_proc
;
wc
.
cbClsExtra
=
0
;
wc
.
cbWndExtra
=
0
;
...
...
@@ -2723,7 +2723,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
wc
.
hIcon
=
NULL
;
wc
.
hIconSm
=
NULL
;
wc
.
hCursor
=
LoadCursor
(
NULL
,
IDC_IBEAM
);
wc
.
hbrBackground
=
GetSysColorBrush
(
COLOR_WINDOW
)
;
wc
.
hbrBackground
=
NULL
;
wc
.
lpszMenuName
=
NULL
;
wc
.
lpszClassName
=
wszPreviewWndClass
;
RegisterClassExW
(
&
wc
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment