Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e3688c2f
Commit
e3688c2f
authored
Jan 07, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Remove redundant parameter from a helper.
parent
9188b58e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
toolbar.c
dlls/comctl32/toolbar.c
+4
-5
No files found.
dlls/comctl32/toolbar.c
View file @
e3688c2f
...
...
@@ -329,9 +329,9 @@ TOOLBAR_ButtonHasString(const TBUTTON_INFO *btnPtr)
* function should be null.
*/
static
void
TOOLBAR_CheckStyle
(
const
TOOLBAR_INFO
*
infoPtr
,
DWORD
dwStyle
)
TOOLBAR_CheckStyle
(
const
TOOLBAR_INFO
*
infoPtr
)
{
if
(
dwStyle
&
TBSTYLE_REGISTERDROP
)
if
(
infoPtr
->
dwStyle
&
TBSTYLE_REGISTERDROP
)
FIXME
(
"[%p] TBSTYLE_REGISTERDROP not implemented
\n
"
,
infoPtr
->
hwndSelf
);
}
...
...
@@ -5166,7 +5166,7 @@ TOOLBAR_Create (HWND hwnd, const CREATESTRUCTW *lpcs)
OpenThemeData
(
hwnd
,
themeClass
);
TOOLBAR_CheckStyle
(
infoPtr
,
infoPtr
->
dwStyle
);
TOOLBAR_CheckStyle
(
infoPtr
);
return
0
;
}
...
...
@@ -6368,11 +6368,10 @@ TOOLBAR_StyleChanged (TOOLBAR_INFO *infoPtr, INT nType, const STYLESTRUCT *lpSty
else
infoPtr
->
dwDTFlags
=
DT_CENTER
|
DT_END_ELLIPSIS
;
TOOLBAR_CheckStyle
(
infoPtr
,
lpStyle
->
styleNew
);
TRACE
(
"new style 0x%08x
\n
"
,
lpStyle
->
styleNew
);
infoPtr
->
dwStyle
=
lpStyle
->
styleNew
;
TOOLBAR_CheckStyle
(
infoPtr
);
if
((
dwOldStyle
^
lpStyle
->
styleNew
)
&
(
TBSTYLE_WRAPABLE
|
CCS_VERT
))
TOOLBAR_LayoutToolbar
(
infoPtr
);
...
...
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