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
fc4b906d
Commit
fc4b906d
authored
Apr 06, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Don't enable owner in DIALOG_DoDialogBox.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2f8f9d20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
controls.h
dlls/user32/controls.h
+0
-1
dialog.c
dlls/user32/dialog.c
+0
-2
No files found.
dlls/user32/controls.h
View file @
fc4b906d
...
...
@@ -241,7 +241,6 @@ typedef struct tagDIALOGINFO
}
DIALOGINFO
;
#define DF_END 0x0001
#define DF_OWNERENABLED 0x0002
extern
DIALOGINFO
*
DIALOG_get_info
(
HWND
hwnd
,
BOOL
create
)
DECLSPEC_HIDDEN
;
extern
INT
DIALOG_DoDialogBox
(
HWND
hwnd
)
DECLSPEC_HIDDEN
;
...
...
dlls/user32/dialog.c
View file @
fc4b906d
...
...
@@ -601,7 +601,6 @@ static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCVOID dlgTemplate,
}
if
(
IsWindowEnabled
(
owner
))
{
flags
|=
DF_OWNERENABLED
;
disabled_owner
=
owner
;
EnableWindow
(
disabled_owner
,
FALSE
);
}
...
...
@@ -822,7 +821,6 @@ INT DIALOG_DoDialogBox( HWND hwnd )
}
}
}
if
(
dlgInfo
->
flags
&
DF_OWNERENABLED
)
EnableWindow
(
owner
,
TRUE
);
retval
=
dlgInfo
->
idResult
;
DestroyWindow
(
hwnd
);
return
retval
;
...
...
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