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
083abe3f
Commit
083abe3f
authored
Sep 01, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Issue a fixme if asked for unsupported toolbar buttons.
parent
02ef5767
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
help.c
dlls/hhctrl.ocx/help.c
+9
-0
No files found.
dlls/hhctrl.ocx/help.c
View file @
083abe3f
...
...
@@ -785,6 +785,7 @@ static void TB_AddButtonsFromFlags(HHInfo *pHHInfo, TBBUTTON *pButtons, DWORD dw
int
nHistBitmaps
=
0
,
nStdBitmaps
=
0
,
nHHBitmaps
=
0
;
HWND
hToolbar
=
pHHInfo
->
WinType
.
hwndToolBar
;
TBADDBITMAP
tbAB
;
DWORD
unsupported
;
/* Common bitmaps */
tbAB
.
hInst
=
HINST_COMMCTRL
;
...
...
@@ -799,6 +800,14 @@ static void TB_AddButtonsFromFlags(HHInfo *pHHInfo, TBBUTTON *pButtons, DWORD dw
*
pdwNumButtons
=
0
;
unsupported
=
dwButtonFlags
&
(
HHWIN_BUTTON_BROWSE_FWD
|
HHWIN_BUTTON_BROWSE_BCK
|
HHWIN_BUTTON_NOTES
|
HHWIN_BUTTON_CONTENTS
|
HHWIN_BUTTON_INDEX
|
HHWIN_BUTTON_SEARCH
|
HHWIN_BUTTON_HISTORY
|
HHWIN_BUTTON_FAVORITES
|
HHWIN_BUTTON_JUMP1
|
HHWIN_BUTTON_JUMP2
|
HHWIN_BUTTON_ZOOM
|
HHWIN_BUTTON_TOC_NEXT
|
HHWIN_BUTTON_TOC_PREV
);
if
(
unsupported
)
FIXME
(
"got asked for unsupported buttons: %06x
\n
"
,
unsupported
);
if
(
dwButtonFlags
&
HHWIN_BUTTON_EXPAND
)
{
TB_AddButton
(
pButtons
,
(
*
pdwNumButtons
)
++
,
IDTB_EXPAND
,
nHistBitmaps
+
HIST_VIEWTREE
);
...
...
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