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
c7d03421
Commit
c7d03421
authored
Sep 28, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Sep 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: toolbar: Small fix in TOOLBAR_StyleChanged.
parent
764c5b3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
toolbar.c
dlls/comctl32/toolbar.c
+3
-1
No files found.
dlls/comctl32/toolbar.c
View file @
c7d03421
...
...
@@ -6741,6 +6741,8 @@ TOOLBAR_StyleChanged (HWND hwnd, INT nType, LPSTYLESTRUCT lpStyle)
if
(
nType
==
GWL_STYLE
)
{
DWORD
dwOldStyle
=
infoPtr
->
dwStyle
;
if
(
lpStyle
->
styleNew
&
TBSTYLE_LIST
)
infoPtr
->
dwDTFlags
=
DT_LEFT
|
DT_VCENTER
|
DT_SINGLELINE
|
DT_END_ELLIPSIS
;
else
...
...
@@ -6753,7 +6755,7 @@ TOOLBAR_StyleChanged (HWND hwnd, INT nType, LPSTYLESTRUCT lpStyle)
infoPtr
->
dwStyle
=
lpStyle
->
styleNew
;
/* only resize if one of the CCS_* styles was changed */
if
((
infoPtr
->
dw
Style
^
lpStyle
->
styleNew
)
&
COMMON_STYLES
)
if
((
dwOld
Style
^
lpStyle
->
styleNew
)
&
COMMON_STYLES
)
{
TOOLBAR_AutoSize
(
hwnd
);
...
...
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