Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fedc194e
Commit
fedc194e
authored
Apr 13, 2010
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 13, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Button painting code always sets up the clipping, there is no need to duplicate it.
parent
23401183
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
button.c
dlls/user32/button.c
+0
-3
No files found.
dlls/user32/button.c
View file @
fedc194e
...
...
@@ -834,8 +834,6 @@ static void PB_Paint( HWND hwnd, HDC hDC, UINT action )
if
(
pushedState
)
OffsetRect
(
&
r
,
1
,
1
);
IntersectClipRect
(
hDC
,
rc
.
left
,
rc
.
top
,
rc
.
right
,
rc
.
bottom
);
oldTxtColor
=
SetTextColor
(
hDC
,
GetSysColor
(
COLOR_BTNTEXT
)
);
BUTTON_DrawLabel
(
hwnd
,
hDC
,
dtFlags
,
&
r
);
...
...
@@ -847,7 +845,6 @@ draw_focus:
((
action
==
ODA_DRAWENTIRE
)
&&
(
state
&
BUTTON_HASFOCUS
)))
{
InflateRect
(
&
focus_rect
,
-
1
,
-
1
);
IntersectRect
(
&
focus_rect
,
&
focus_rect
,
&
rc
);
DrawFocusRect
(
hDC
,
&
focus_rect
);
}
...
...
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