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
4eae772f
Commit
4eae772f
authored
May 08, 2003
by
Maxime Bellengé
Committed by
Alexandre Julliard
May 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly fill the background of a checkbox button.
parent
d9bab574
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
button.c
controls/button.c
+4
-4
No files found.
controls/button.c
View file @
4eae772f
...
...
@@ -861,6 +861,10 @@ static void CB_Paint( HWND hwnd, HDC hDC, UINT action )
rtext
.
left
+=
checkBoxWidth
+
4
;
rbox
.
right
=
checkBoxWidth
;
}
/* Since WM_ERASEBKGND does nothing, first prepare background */
if
(
action
==
ODA_SELECT
)
FillRect
(
hDC
,
&
rbox
,
hBrush
);
if
(
action
==
ODA_DRAWENTIRE
)
FillRect
(
hDC
,
&
client
,
hBrush
);
/* Draw label */
client
=
rtext
;
...
...
@@ -871,10 +875,6 @@ static void CB_Paint( HWND hwnd, HDC hDC, UINT action )
/* Draw the check-box bitmap */
if
(
action
==
ODA_DRAWENTIRE
||
action
==
ODA_SELECT
)
{
/* Since WM_ERASEBKGND does nothing, first prepare background */
if
(
action
==
ODA_SELECT
)
FillRect
(
hDC
,
&
rbox
,
hBrush
);
else
FillRect
(
hDC
,
&
client
,
hBrush
);
if
(
TWEAK_WineLook
==
WIN31_LOOK
)
{
HDC
hMemDC
=
CreateCompatibleDC
(
hDC
);
...
...
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