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
6fd93a6c
Commit
6fd93a6c
authored
Dec 21, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Use the module instance instead of that of the owner window for the…
comctl32: Use the module instance instead of that of the owner window for the toolbar configuration dialog.
parent
29c0ecfd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
13 deletions
+2
-13
toolbar.c
dlls/comctl32/toolbar.c
+2
-13
No files found.
dlls/comctl32/toolbar.c
View file @
6fd93a6c
...
...
@@ -3156,8 +3156,6 @@ TOOLBAR_Customize (TOOLBAR_INFO *infoPtr)
{
CUSTDLG_INFO
custInfo
;
LRESULT
ret
;
LPCVOID
template
;
HRSRC
hRes
;
NMHDR
nmhdr
;
custInfo
.
tbInfo
=
infoPtr
;
...
...
@@ -3166,17 +3164,8 @@ TOOLBAR_Customize (TOOLBAR_INFO *infoPtr)
/* send TBN_BEGINADJUST notification */
TOOLBAR_SendNotify
(
&
nmhdr
,
infoPtr
,
TBN_BEGINADJUST
);
if
(
!
(
hRes
=
FindResourceW
(
COMCTL32_hModule
,
MAKEINTRESOURCEW
(
IDD_TBCUSTOMIZE
),
(
LPWSTR
)
RT_DIALOG
)))
return
FALSE
;
if
(
!
(
template
=
LoadResource
(
COMCTL32_hModule
,
hRes
)))
return
FALSE
;
ret
=
DialogBoxIndirectParamW
((
HINSTANCE
)
GetWindowLongPtrW
(
infoPtr
->
hwndSelf
,
GWLP_HINSTANCE
),
template
,
infoPtr
->
hwndSelf
,
TOOLBAR_CustomizeDialogProc
,
(
LPARAM
)
&
custInfo
);
ret
=
DialogBoxParamW
(
COMCTL32_hModule
,
MAKEINTRESOURCEW
(
IDD_TBCUSTOMIZE
),
infoPtr
->
hwndSelf
,
TOOLBAR_CustomizeDialogProc
,
(
LPARAM
)
&
custInfo
);
/* send TBN_ENDADJUST notification */
TOOLBAR_SendNotify
(
&
nmhdr
,
infoPtr
,
TBN_ENDADJUST
);
...
...
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