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
89147996
Commit
89147996
authored
Apr 18, 1999
by
Luc Tourangeau
Committed by
Alexandre Julliard
Apr 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When the vertical scrollbar is removed, the background was not
properly repainted.
parent
d8a8b00a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
listbox.c
controls/listbox.c
+2
-1
No files found.
controls/listbox.c
View file @
89147996
...
@@ -2580,9 +2580,10 @@ LRESULT WINAPI ListBoxWndProc( HWND hwnd, UINT msg,
...
@@ -2580,9 +2580,10 @@ LRESULT WINAPI ListBoxWndProc( HWND hwnd, UINT msg,
case
WM_ERASEBKGND
:
case
WM_ERASEBKGND
:
if
(
IS_OWNERDRAW
(
descr
))
if
(
IS_OWNERDRAW
(
descr
))
{
{
RECT
rect
=
{
0
,
0
,
descr
->
width
,
descr
->
height
}
;
RECT
rect
;
HBRUSH
hbrush
=
SendMessageA
(
descr
->
owner
,
WM_CTLCOLORLISTBOX
,
HBRUSH
hbrush
=
SendMessageA
(
descr
->
owner
,
WM_CTLCOLORLISTBOX
,
wParam
,
(
LPARAM
)
wnd
->
hwndSelf
);
wParam
,
(
LPARAM
)
wnd
->
hwndSelf
);
GetClientRect
(
hwnd
,
&
rect
);
if
(
hbrush
)
FillRect
(
(
HDC
)
wParam
,
&
rect
,
hbrush
);
if
(
hbrush
)
FillRect
(
(
HDC
)
wParam
,
&
rect
,
hbrush
);
}
}
retvalue
=
1
;
retvalue
=
1
;
...
...
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