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
2793a4fd
Commit
2793a4fd
authored
Apr 19, 2010
by
Octavian Voicu
Committed by
Alexandre Julliard
Apr 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Use standard window class for combo control and add error checking.
parent
9c892430
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
dialog.c
dlls/msi/dialog.c
+5
-2
No files found.
dlls/msi/dialog.c
View file @
2793a4fd
...
...
@@ -1224,7 +1224,7 @@ static UINT msi_dialog_icon_control( msi_dialog *dialog, MSIRECORD *rec )
static
UINT
msi_dialog_combo_control
(
msi_dialog
*
dialog
,
MSIRECORD
*
rec
)
{
static
const
WCHAR
szCombo
[]
=
{
'C'
,
'O'
,
'M'
,
'B'
,
'O'
,
'B'
,
'O'
,
'X'
,
0
}
;
msi_control
*
control
;
DWORD
attributes
,
style
;
style
=
CBS_AUTOHSCROLL
|
WS_TABSTOP
|
WS_GROUP
|
WS_CHILD
;
...
...
@@ -1236,7 +1236,10 @@ static UINT msi_dialog_combo_control( msi_dialog *dialog, MSIRECORD *rec )
else
style
|=
CBS_DROPDOWN
;
msi_dialog_add_control
(
dialog
,
rec
,
szCombo
,
style
);
control
=
msi_dialog_add_control
(
dialog
,
rec
,
WC_COMBOBOXW
,
style
);
if
(
!
control
)
return
ERROR_FUNCTION_FAILED
;
return
ERROR_SUCCESS
;
}
...
...
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