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
961c7b88
Commit
961c7b88
authored
Mar 30, 2015
by
Mark Harmstone
Committed by
Alexandre Julliard
Mar 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Redraw themed button on WM_ENABLE.
parent
5bba5450
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
theme_button.c
dlls/comctl32/theme_button.c
+5
-3
No files found.
dlls/comctl32/theme_button.c
View file @
961c7b88
...
...
@@ -380,9 +380,11 @@ LRESULT CALLBACK THEMING_ButtonSubclassProc(HWND hwnd, UINT msg,
case
WM_ENABLE
:
theme
=
GetWindowTheme
(
hwnd
);
if
(
theme
)
RedrawWindow
(
hwnd
,
NULL
,
NULL
,
RDW_FRAME
|
RDW_INVALIDATE
|
RDW_UPDATENOW
);
return
THEMING_CallOriginalClass
(
hwnd
,
msg
,
wParam
,
lParam
);
if
(
theme
)
{
RedrawWindow
(
hwnd
,
NULL
,
NULL
,
RDW_FRAME
|
RDW_INVALIDATE
|
RDW_UPDATENOW
);
return
0
;
}
else
return
THEMING_CallOriginalClass
(
hwnd
,
msg
,
wParam
,
lParam
);
case
WM_MOUSEMOVE
:
{
...
...
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