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
7ccd27a6
Commit
7ccd27a6
authored
Jan 04, 2002
by
Sander van Leeuwen
Committed by
Alexandre Julliard
Jan 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check, Radio & 3State buttons send WM_CTLCOLORSTATIC instead of
WM_CTLCOLORBTN.
parent
c603988c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
button.c
controls/button.c
+2
-2
No files found.
controls/button.c
View file @
7ccd27a6
...
...
@@ -803,9 +803,9 @@ static void CB_Paint( HWND hwnd, HDC hDC, UINT action )
if
((
hFont
=
get_button_font
(
hwnd
)))
SelectObject
(
hDC
,
hFont
);
hBrush
=
SendMessageW
(
GetParent
(
hwnd
),
WM_CTLCOLOR
BTN
,
hDC
,
(
LPARAM
)
hwnd
);
hBrush
=
SendMessageW
(
GetParent
(
hwnd
),
WM_CTLCOLOR
STATIC
,
hDC
,
(
LPARAM
)
hwnd
);
if
(
!
hBrush
)
/* did the app forget to call defwindowproc ? */
hBrush
=
DefWindowProcW
(
GetParent
(
hwnd
),
WM_CTLCOLOR
BTN
,
hDC
,
(
LPARAM
)
hwnd
);
hBrush
=
DefWindowProcW
(
GetParent
(
hwnd
),
WM_CTLCOLOR
STATIC
,
hDC
,
(
LPARAM
)
hwnd
);
if
(
style
&
BS_LEFTTEXT
)
{
...
...
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