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
536957eb
Commit
536957eb
authored
Sep 19, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a couple of bugs in WIN_SetWindowLong caused by previous
change.
parent
038af792
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
win.c
windows/win.c
+7
-5
No files found.
windows/win.c
View file @
536957eb
...
...
@@ -1714,7 +1714,13 @@ static LONG WIN_SetWindowLong( HWND hwnd, INT offset, LONG newval,
ptr
=
(
DWORD
*
)
&
wndPtr
->
wIDmenu
;
break
;
case
GWL_HINSTANCE
:
retval
=
SetWindowWord
(
hwnd
,
offset
,
newval
);
ptr
=
(
DWORD
*
)
&
wndPtr
->
hInstance
;
break
;
case
GWL_USERDATA
:
ptr
=
&
wndPtr
->
userdata
;
break
;
case
GWL_HWNDPARENT
:
retval
=
SetParent
(
hwnd
,
(
HWND
)
newval
);
goto
end
;
case
GWL_WNDPROC
:
retval
=
(
LONG
)
WINPROC_GetProc
(
wndPtr
->
winproc
,
type
);
...
...
@@ -1729,10 +1735,6 @@ static LONG WIN_SetWindowLong( HWND hwnd, INT offset, LONG newval,
SendMessageA
(
hwnd
,
WM_STYLECHANGED
,
GWL_STYLE
,(
LPARAM
)
&
style
);
retval
=
style
.
styleOld
;
goto
end
;
case
GWL_USERDATA
:
ptr
=
&
wndPtr
->
userdata
;
break
;
case
GWL_EXSTYLE
:
style
.
styleOld
=
wndPtr
->
dwExStyle
;
style
.
styleNew
=
newval
;
...
...
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