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
a64765f6
Commit
a64765f6
authored
Feb 17, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Don't overwrite the default button id when creating the dialog structure.
parent
1442a18e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
dialog.c
dlls/user.exe16/dialog.c
+0
-1
defdlg.c
dlls/user32/defdlg.c
+1
-1
dialog.c
dlls/user32/dialog.c
+0
-1
No files found.
dlls/user.exe16/dialog.c
View file @
a64765f6
...
...
@@ -446,7 +446,6 @@ static HWND DIALOG_CreateIndirect16( HINSTANCE16 hInst, LPCVOID dlgTemplate,
dlgInfo
->
hMenu
=
HMENU_32
(
hMenu
);
dlgInfo
->
xBaseUnit
=
xBaseUnit
;
dlgInfo
->
yBaseUnit
=
yBaseUnit
;
dlgInfo
->
idResult
=
IDOK
;
dlgInfo
->
flags
=
flags
;
SetWindowLong16
(
HWND_16
(
hwnd
),
DWLP_DLGPROC
,
(
LONG
)
dlgProc
);
...
...
dlls/user32/defdlg.c
View file @
a64765f6
...
...
@@ -339,7 +339,7 @@ DIALOGINFO *DIALOG_get_info( HWND hwnd, BOOL create )
dlgInfo
->
hMenu
=
0
;
dlgInfo
->
xBaseUnit
=
0
;
dlgInfo
->
yBaseUnit
=
0
;
dlgInfo
->
idResult
=
0
;
dlgInfo
->
idResult
=
IDOK
;
dlgInfo
->
flags
=
0
;
wndPtr
->
dlgInfo
=
dlgInfo
;
}
...
...
dlls/user32/dialog.c
View file @
a64765f6
...
...
@@ -672,7 +672,6 @@ static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCVOID dlgTemplate,
dlgInfo
->
hMenu
=
hMenu
;
dlgInfo
->
xBaseUnit
=
xBaseUnit
;
dlgInfo
->
yBaseUnit
=
yBaseUnit
;
dlgInfo
->
idResult
=
IDOK
;
dlgInfo
->
flags
=
flags
;
if
(
template
.
helpId
)
SetWindowContextHelpId
(
hwnd
,
template
.
helpId
);
...
...
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