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
07348656
Commit
07348656
authored
Nov 08, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/toolbar: Call handlers in more general way.
parent
7b19d8bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
toolbar.c
dlls/comctl32/toolbar.c
+6
-11
No files found.
dlls/comctl32/toolbar.c
View file @
07348656
...
...
@@ -6421,11 +6421,9 @@ ToolbarWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
TOOLBAR_AddBitmap
(
infoPtr
,
(
INT
)
wParam
,
(
TBADDBITMAP
*
)
lParam
);
case
TB_ADDBUTTONSA
:
return
TOOLBAR_AddButtonsT
(
infoPtr
,
wParam
,
(
LPTBBUTTON
)
lParam
,
FALSE
);
case
TB_ADDBUTTONSW
:
return
TOOLBAR_AddButtonsT
(
infoPtr
,
wParam
,
(
LPTBBUTTON
)
lParam
,
TRUE
);
return
TOOLBAR_AddButtonsT
(
infoPtr
,
wParam
,
(
LPTBBUTTON
)
lParam
,
uMsg
==
TB_ADDBUTTONSW
);
case
TB_ADDSTRINGA
:
return
TOOLBAR_AddStringA
(
infoPtr
,
(
HINSTANCE
)
wParam
,
lParam
);
...
...
@@ -6472,11 +6470,9 @@ ToolbarWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
TOOLBAR_GetButton
(
infoPtr
,
wParam
,
(
TBBUTTON
*
)
lParam
);
case
TB_GETBUTTONINFOA
:
return
TOOLBAR_GetButtonInfoT
(
infoPtr
,
wParam
,
(
LPTBBUTTONINFOW
)
lParam
,
FALSE
);
case
TB_GETBUTTONINFOW
:
return
TOOLBAR_GetButtonInfoT
(
infoPtr
,
wParam
,
(
LPTBBUTTONINFOW
)
lParam
,
TRUE
);
return
TOOLBAR_GetButtonInfoT
(
infoPtr
,
wParam
,
(
LPTBBUTTONINFOW
)
lParam
,
uMsg
==
TB_GETBUTTONINFOW
);
case
TB_GETBUTTONSIZE
:
return
TOOLBAR_GetButtonSize
(
infoPtr
);
...
...
@@ -6554,10 +6550,9 @@ ToolbarWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
TOOLBAR_Indeterminate
(
infoPtr
,
wParam
,
LOWORD
(
lParam
));
case
TB_INSERTBUTTONA
:
return
TOOLBAR_InsertButtonT
(
infoPtr
,
wParam
,
(
TBBUTTON
*
)
lParam
,
FALSE
);
case
TB_INSERTBUTTONW
:
return
TOOLBAR_InsertButtonT
(
infoPtr
,
wParam
,
(
TBBUTTON
*
)
lParam
,
TRUE
);
return
TOOLBAR_InsertButtonT
(
infoPtr
,
wParam
,
(
TBBUTTON
*
)
lParam
,
uMsg
==
TB_INSERTBUTTONW
);
/* case TB_INSERTMARKHITTEST: */
/* 4.71 */
...
...
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