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
ac30d46b
Commit
ac30d46b
authored
May 26, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Dialog procedures should be called with CallWindowProc.
parent
14fb1ddc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
theme_dialog.c
dlls/comctl32/theme_dialog.c
+4
-4
No files found.
dlls/comctl32/theme_dialog.c
View file @
ac30d46b
...
...
@@ -74,8 +74,8 @@ LRESULT CALLBACK THEMING_DialogSubclassProc (HWND hWnd, UINT msg,
if
(
!
doTheming
)
return
THEMING_CallOriginalClass
(
hWnd
,
msg
,
wParam
,
lParam
);
{
RECT
rc
;
DLGPROC
dlgp
=
(
DLG
PROC
)
GetWindowLongPtrW
(
hWnd
,
DWLP_DLGPROC
);
if
(
!
dlgp
(
hWnd
,
msg
,
wParam
,
lParam
))
WNDPROC
dlgp
=
(
WND
PROC
)
GetWindowLongPtrW
(
hWnd
,
DWLP_DLGPROC
);
if
(
!
CallWindowProcW
(
dlgp
,
hWnd
,
msg
,
wParam
,
lParam
))
{
/* Draw background*/
GetClientRect
(
hWnd
,
&
rc
);
...
...
@@ -104,8 +104,8 @@ LRESULT CALLBACK THEMING_DialogSubclassProc (HWND hWnd, UINT msg,
case
WM_CTLCOLORSTATIC
:
if
(
!
doTheming
)
return
THEMING_CallOriginalClass
(
hWnd
,
msg
,
wParam
,
lParam
);
{
DLGPROC
dlgp
=
(
DLG
PROC
)
GetWindowLongPtrW
(
hWnd
,
DWLP_DLGPROC
);
LRESULT
result
=
(
LRESULT
)
dlgp
(
hWnd
,
msg
,
wParam
,
lParam
);
WNDPROC
dlgp
=
(
WND
PROC
)
GetWindowLongPtrW
(
hWnd
,
DWLP_DLGPROC
);
LRESULT
result
=
CallWindowProcW
(
dlgp
,
hWnd
,
msg
,
wParam
,
lParam
);
if
(
!
result
)
{
/* Override defaults with more suitable values when themed */
...
...
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