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
329072dc
Commit
329072dc
authored
Oct 24, 1998
by
Eric Kohl
Committed by
Alexandre Julliard
Oct 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a popup menu selection bug.
parent
d0b79c08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
menu.c
controls/menu.c
+8
-3
No files found.
controls/menu.c
View file @
329072dc
...
...
@@ -3895,13 +3895,18 @@ UINT32 WINAPI GetMenuDefaultItem32(HMENU32 hmenu, UINT32 bypos, UINT32 flags)
{
POPUPMENU
*
menu
;
if
(
!
(
menu
=
(
POPUPMENU
*
)
USER_HEAP_LIN_ADDR
(
hmenu
)))
return
0
;
/*FIXME*/
if
(
!
(
menu
=
(
POPUPMENU
*
)
USER_HEAP_LIN_ADDR
(
hmenu
)))
return
-
1
;
FIXME
(
menu
,
"(0x%x,%d,%d), stub!
\n
"
,
hmenu
,
bypos
,
flags
);
if
(
bypos
&
MF_BYPOSITION
)
return
menu
->
defitem
;
else
return
menu
->
items
[
menu
->
defitem
].
wID
;
else
{
FIXME
(
menu
,
"default item 0x%x
\n
"
,
menu
->
defitem
);
if
((
menu
->
defitem
>
0
)
&&
(
menu
->
defitem
<
menu
->
nItems
))
return
menu
->
items
[
menu
->
defitem
].
wID
;
}
return
-
1
;
}
/*******************************************************************
...
...
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