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
4d5c6684
Commit
4d5c6684
authored
Oct 23, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix scroll tests compilation with __WINESRC__ defined.
parent
f26bace5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scroll.c
dlls/user32/tests/scroll.c
+3
-3
No files found.
dlls/user32/tests/scroll.c
View file @
4d5c6684
...
...
@@ -56,7 +56,7 @@ static void scrollbar_test_track(void)
{
/* test that scrollbar tracking is terminated when
* the control looses mouse capture */
SendMessage
(
hScroll
,
WM_LBUTTONDOWN
,
0
,
MAKELPARAM
(
1
,
1
));
SendMessage
A
(
hScroll
,
WM_LBUTTONDOWN
,
0
,
MAKELPARAM
(
1
,
1
));
/* a normal return from the sendmessage */
/* not normal for instance by closing the windws */
ok
(
IsWindow
(
hScroll
),
"Scrollbar has gone!
\n
"
);
...
...
@@ -467,7 +467,7 @@ static void scrollbar_test_init(void)
wc
.
cbSize
=
sizeof
wc
;
wc
.
style
=
CS_VREDRAW
|
CS_HREDRAW
;
wc
.
hInstance
=
GetModuleHandleA
(
0
);
wc
.
hCursor
=
LoadCursorA
(
NULL
,
IDC_ARROW
);
wc
.
hCursor
=
LoadCursorA
(
NULL
,
(
LPCSTR
)
IDC_ARROW
);
wc
.
hbrBackground
=
GetStockObject
(
WHITE_BRUSH
);
wc
.
lpszClassName
=
cls_name
;
wc
.
lpfnWndProc
=
scroll_init_proc
;
...
...
@@ -495,7 +495,7 @@ START_TEST ( scroll )
wc
.
cbWndExtra
=
0
;
wc
.
hInstance
=
GetModuleHandleA
(
NULL
);
wc
.
hIcon
=
NULL
;
wc
.
hCursor
=
LoadCursorA
(
NULL
,
IDC_IBEAM
);
wc
.
hCursor
=
LoadCursorA
(
NULL
,
(
LPCSTR
)
IDC_IBEAM
);
wc
.
hbrBackground
=
GetSysColorBrush
(
COLOR_WINDOW
);
wc
.
lpszMenuName
=
NULL
;
wc
.
lpszClassName
=
"MyTestWnd"
;
...
...
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