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
566e8547
Commit
566e8547
authored
Feb 25, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make GetWindowLong(GWL_HWNDPARENT) return the same thing as
GetParent32; suggested by Dave Pickles <davep@nugate.demon.co.uk>.
parent
18052c77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
win.c
windows/win.c
+2
-7
No files found.
windows/win.c
View file @
566e8547
...
...
@@ -1514,11 +1514,7 @@ WORD WINAPI GetWindowWord32( HWND32 hwnd, INT32 offset )
wndPtr
->
wIDmenu
);
return
(
WORD
)
wndPtr
->
wIDmenu
;
case
GWW_HWNDPARENT
:
return
wndPtr
->
parent
?
wndPtr
->
parent
->
hwndSelf
:
(
wndPtr
->
owner
?
wndPtr
->
owner
->
hwndSelf
:
0
);
return
GetParent32
(
hwnd
);
case
GWW_HINSTANCE
:
if
(
HIWORD
(
wndPtr
->
hInstance
))
WARN
(
win
,
"GWW_HINSTANCE: discards high bits of 0x%08x!
\n
"
,
...
...
@@ -1614,8 +1610,7 @@ static LONG WIN_GetWindowLong( HWND32 hwnd, INT32 offset, WINDOWPROCTYPE type )
case
GWL_ID
:
return
(
LONG
)
wndPtr
->
wIDmenu
;
case
GWL_WNDPROC
:
return
(
LONG
)
WINPROC_GetProc
(
wndPtr
->
winproc
,
type
);
case
GWL_HWNDPARENT
:
return
wndPtr
->
parent
?
(
HWND32
)
wndPtr
->
parent
->
hwndSelf
:
0
;
case
GWL_HWNDPARENT
:
return
GetParent32
(
hwnd
);
case
GWL_HINSTANCE
:
return
wndPtr
->
hInstance
;
default:
WARN
(
win
,
"Unknown offset %d
\n
"
,
offset
);
...
...
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