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
6ac0dd03
Commit
6ac0dd03
authored
Oct 11, 2016
by
Huw Davies
Committed by
Alexandre Julliard
Oct 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Remove BTNS_BUTTON from the toolbar style - it's a button style.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2878d1e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wordpad.c
programs/wordpad/wordpad.c
+2
-2
No files found.
programs/wordpad/wordpad.c
View file @
6ac0dd03
...
...
@@ -1814,7 +1814,7 @@ static LRESULT OnCreate( HWND hWnd )
if
(
!
SendMessageW
(
hReBarWnd
,
RB_SETBARINFO
,
0
,
(
LPARAM
)
&
rbi
))
return
-
1
;
hToolBarWnd
=
CreateToolbarEx
(
hReBarWnd
,
CCS_NOPARENTALIGN
|
CCS_NOMOVEY
|
WS_VISIBLE
|
WS_CHILD
|
TBSTYLE_TOOLTIPS
|
BTNS_BUTTON
,
hToolBarWnd
=
CreateToolbarEx
(
hReBarWnd
,
CCS_NOPARENTALIGN
|
CCS_NOMOVEY
|
WS_VISIBLE
|
WS_CHILD
|
TBSTYLE_TOOLTIPS
,
IDC_TOOLBAR
,
1
,
hInstance
,
IDB_TOOLBAR
,
NULL
,
0
,
...
...
@@ -1876,7 +1876,7 @@ static LRESULT OnCreate( HWND hWnd )
SendMessageW
(
hReBarWnd
,
RB_INSERTBANDW
,
-
1
,
(
LPARAM
)
&
rbb
);
hFormatBarWnd
=
CreateToolbarEx
(
hReBarWnd
,
CCS_NOPARENTALIGN
|
CCS_NOMOVEY
|
WS_VISIBLE
|
TBSTYLE_TOOLTIPS
|
BTNS_BUTTON
,
CCS_NOPARENTALIGN
|
CCS_NOMOVEY
|
WS_VISIBLE
|
TBSTYLE_TOOLTIPS
,
IDC_FORMATBAR
,
8
,
hInstance
,
IDB_FORMATBAR
,
NULL
,
0
,
16
,
16
,
16
,
16
,
sizeof
(
TBBUTTON
));
AddButton
(
hFormatBarWnd
,
0
,
ID_FORMAT_BOLD
);
...
...
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