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
cecd205f
Commit
cecd205f
authored
Mar 16, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Restore erroneously removed chunk of code.
parent
edae7a0a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
mdi.c
dlls/user32/mdi.c
+9
-1
No files found.
dlls/user32/mdi.c
View file @
cecd205f
...
...
@@ -910,11 +910,19 @@ static BOOL MDI_RestoreFrameMenu( HWND frame, HWND hChild )
{
MENUITEMINFOW
menuInfo
;
HMENU
menu
=
GetMenu
(
frame
);
INT
nItems
;
UINT
iId
;
TRACE
(
"frame %p, child %p
\n
"
,
frame
,
hChild
);
if
(
!
menu
)
return
0
;
/* if there is no system buttons then nothing to do */
nItems
=
GetMenuItemCount
(
menu
)
-
1
;
iId
=
GetMenuItemID
(
menu
,
nItems
);
if
(
!
(
iId
==
SC_RESTORE
||
iId
==
SC_CLOSE
)
)
return
0
;
/*
* Remove the system menu, If that menu is the icon of the window
* as it is in win95, we have to delete the bitmap.
...
...
@@ -1531,7 +1539,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
frame
=
GetParent
(
client
);
MDI_RestoreFrameMenu
(
frame
,
hwnd
);
MDI_UpdateFrameText
(
frame
,
client
,
FALS
E
,
NULL
);
MDI_UpdateFrameText
(
frame
,
client
,
TRU
E
,
NULL
);
}
if
(
wParam
==
SIZE_MAXIMIZED
)
...
...
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