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
ff5f45f4
Commit
ff5f45f4
authored
Nov 02, 2021
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/button: Remove useless calculation for drawing group boxes.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c90edc19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
button.c
dlls/comctl32/button.c
+0
-4
No files found.
dlls/comctl32/button.c
View file @
ff5f45f4
...
@@ -2113,10 +2113,6 @@ static void GB_Paint( const BUTTON_INFO *infoPtr, HDC hDC, UINT action )
...
@@ -2113,10 +2113,6 @@ static void GB_Paint( const BUTTON_INFO *infoPtr, HDC hDC, UINT action )
labelRect
.
right
++
;
labelRect
.
right
++
;
labelRect
.
bottom
++
;
labelRect
.
bottom
++
;
FillRect
(
hDC
,
&
labelRect
,
hbr
);
FillRect
(
hDC
,
&
labelRect
,
hbr
);
labelRect
.
left
++
;
labelRect
.
right
--
;
labelRect
.
bottom
--
;
BUTTON_DrawLabel
(
infoPtr
,
hDC
,
dtFlags
,
&
imageRect
,
&
textRect
);
BUTTON_DrawLabel
(
infoPtr
,
hDC
,
dtFlags
,
&
imageRect
,
&
textRect
);
}
}
SelectClipRgn
(
hDC
,
hrgn
);
SelectClipRgn
(
hDC
,
hrgn
);
...
...
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