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
910129fc
Commit
910129fc
authored
Jan 05, 2018
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Let ComboBox edit control handle the redraw even if CBF_NOREDRAW is set.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
030803b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
combo.c
dlls/user32/combo.c
+2
-3
No files found.
dlls/user32/combo.c
View file @
910129fc
...
...
@@ -703,8 +703,6 @@ static void CBPaintText(
INT
id
,
size
=
0
;
LPWSTR
pText
=
NULL
;
if
(
lphc
->
wState
&
CBF_NOREDRAW
)
return
;
TRACE
(
"
\n
"
);
/* follow Windows combobox that sends a bunch of text
...
...
@@ -733,8 +731,9 @@ static void CBPaintText(
if
(
lphc
->
wState
&
CBF_FOCUSED
)
SendMessageW
(
lphc
->
hWndEdit
,
EM_SETSEL
,
0
,
-
1
);
}
else
if
(
IsWindowVisible
(
lphc
->
self
))
/* paint text field ourselves */
else
if
(
!
(
lphc
->
wState
&
CBF_NOREDRAW
)
&&
IsWindowVisible
(
lphc
->
self
))
{
/* paint text field ourselves */
HDC
hdc
=
hdc_paint
?
hdc_paint
:
GetDC
(
lphc
->
self
);
UINT
itemState
=
ODS_COMBOBOXEDIT
;
HFONT
hPrevFont
=
(
lphc
->
hFont
)
?
SelectObject
(
hdc
,
lphc
->
hFont
)
:
0
;
...
...
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