Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
52ece0ef
Commit
52ece0ef
authored
Feb 26, 2001
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 26, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use GetSysColorBrush(COLOR_WINDOW) when there is no brush for drawing
background in listbox.
parent
f063d043
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
listbox.c
controls/listbox.c
+8
-2
No files found.
controls/listbox.c
View file @
52ece0ef
...
@@ -2986,8 +2986,14 @@ static LRESULT WINAPI ListBoxWndProc_locked( WND* wnd, UINT msg,
...
@@ -2986,8 +2986,14 @@ static LRESULT WINAPI ListBoxWndProc_locked( WND* wnd, UINT msg,
RECT
rect
;
RECT
rect
;
HBRUSH
hbrush
=
SendMessageW
(
descr
->
owner
,
WM_CTLCOLORLISTBOX
,
HBRUSH
hbrush
=
SendMessageW
(
descr
->
owner
,
WM_CTLCOLORLISTBOX
,
wParam
,
(
LPARAM
)
wnd
->
hwndSelf
);
wParam
,
(
LPARAM
)
wnd
->
hwndSelf
);
GetClientRect
(
hwnd
,
&
rect
);
TRACE
(
"hbrush = %04x
\n
"
,
hbrush
);
if
(
hbrush
)
FillRect
(
(
HDC
)
wParam
,
&
rect
,
hbrush
);
if
(
!
hbrush
)
hbrush
=
GetSysColorBrush
(
COLOR_WINDOW
);
if
(
hbrush
)
{
GetClientRect
(
hwnd
,
&
rect
);
FillRect
((
HDC
)
wParam
,
&
rect
,
hbrush
);
}
}
}
return
1
;
return
1
;
case
WM_DROPFILES
:
case
WM_DROPFILES
:
...
...
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