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
d62c3f16
Commit
d62c3f16
authored
Apr 17, 2001
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant sending of WM_DRAWITEM message to ownerdrawn
combobox.
parent
4f34b189
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
combo.c
controls/combo.c
+3
-11
No files found.
controls/combo.c
View file @
d62c3f16
...
...
@@ -748,6 +748,8 @@ static void CBPaintText(
if
(
lphc
->
wState
&
CBF_NOREDRAW
)
return
;
TRACE
(
"
\n
"
);
/* follow Windows combobox that sends a bunch of text
* inquiries to its listbox while processing WM_PAINT. */
...
...
@@ -981,6 +983,7 @@ static LRESULT COMBO_Paint(LPHEADCOMBO lphc, HDC hParamDC)
hDC
=
(
hParamDC
)
?
hParamDC
:
BeginPaint
(
lphc
->
self
->
hwndSelf
,
&
ps
);
TRACE
(
"hdc=%04x
\n
"
,
hDC
);
if
(
hDC
&&
!
(
lphc
->
wState
&
CBF_NOREDRAW
)
)
{
...
...
@@ -1430,17 +1433,6 @@ static LRESULT COMBO_Command( LPHEADCOMBO lphc, WPARAM wParam, HWND hWnd )
CB_NOTIFY
(
lphc
,
CBN_SELCHANGE
);
/* added due to traces from native */
if
(
CB_OWNERDRAWN
(
lphc
)
)
{
HDC
hDC
;
hDC
=
GetDC
(
hWnd
);
CBPaintText
(
lphc
,
hDC
,
lphc
->
textRect
);
ReleaseDC
(
hWnd
,
hDC
);
}
/* end of added due to traces from native */
/* fall through */
case
LBN_SETFOCUS
:
...
...
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