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
8ac1acbb
Commit
8ac1acbb
authored
Feb 12, 2001
by
James Abbatiello
Committed by
Alexandre Julliard
Feb 12, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ownerdrawn combo boxes should use ODS_COMBOBOXEDIT in the itemState.
parent
e13633b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
combo.c
controls/combo.c
+2
-4
No files found.
controls/combo.c
View file @
8ac1acbb
...
...
@@ -770,7 +770,7 @@ static void CBPaintText(
}
else
/* paint text field ourselves */
{
UINT
itemState
;
UINT
itemState
=
ODS_COMBOBOXEDIT
;
HFONT
hPrevFont
=
(
lphc
->
hFont
)
?
SelectObject
(
hdc
,
lphc
->
hFont
)
:
0
;
/*
...
...
@@ -786,10 +786,8 @@ static void CBPaintText(
FillRect
(
hdc
,
&
rectEdit
,
GetSysColorBrush
(
COLOR_HIGHLIGHT
)
);
SetBkColor
(
hdc
,
GetSysColor
(
COLOR_HIGHLIGHT
)
);
SetTextColor
(
hdc
,
GetSysColor
(
COLOR_HIGHLIGHTTEXT
)
);
itemState
=
ODS_SELECTED
|
ODS_FOCUS
;
itemState
|
=
ODS_SELECTED
|
ODS_FOCUS
;
}
else
itemState
=
0
;
if
(
CB_OWNERDRAWN
(
lphc
)
)
{
...
...
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