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
7e310319
Commit
7e310319
authored
Jun 27, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Prevent double theme closing when WM_DESTROY is called many times.
parent
7d17bc55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
theme_dialog.c
dlls/comctl32/theme_dialog.c
+3
-1
No files found.
dlls/comctl32/theme_dialog.c
View file @
7e310319
...
...
@@ -54,7 +54,9 @@ LRESULT CALLBACK THEMING_DialogSubclassProc (HWND hWnd, UINT msg,
case
WM_DESTROY
:
CloseThemeData
(
theme
);
return
THEMING_CallOriginalClass
(
hWnd
,
msg
,
wParam
,
lParam
);
SetWindowTheme
(
hWnd
,
NULL
,
NULL
);
OpenThemeData
(
hWnd
,
NULL
);
return
THEMING_CallOriginalClass
(
hWnd
,
msg
,
wParam
,
lParam
);
case
WM_THEMECHANGED
:
CloseThemeData
(
theme
);
...
...
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