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
7a5497b5
Commit
7a5497b5
authored
Dec 10, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: InitCommonControlsEx() is missing on Windows 95 so call…
comctl32/tests: InitCommonControlsEx() is missing on Windows 95 so call InitCommonControls() instead.
parent
86b36241
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
34 deletions
+9
-34
comboex.c
dlls/comctl32/tests/comboex.c
+1
-4
datetime.c
dlls/comctl32/tests/datetime.c
+1
-5
header.c
dlls/comctl32/tests/header.c
+1
-4
listview.c
dlls/comctl32/tests/listview.c
+1
-5
monthcal.c
dlls/comctl32/tests/monthcal.c
+2
-4
progress.c
dlls/comctl32/tests/progress.c
+1
-4
rebar.c
dlls/comctl32/tests/rebar.c
+1
-4
treeview.c
dlls/comctl32/tests/treeview.c
+1
-4
No files found.
dlls/comctl32/tests/comboex.c
View file @
7a5497b5
...
@@ -189,11 +189,8 @@ static LRESULT CALLBACK ComboExTestWndProc(HWND hWnd, UINT msg, WPARAM wParam, L
...
@@ -189,11 +189,8 @@ static LRESULT CALLBACK ComboExTestWndProc(HWND hWnd, UINT msg, WPARAM wParam, L
static
void
init
(
void
)
{
static
void
init
(
void
)
{
WNDCLASSA
wc
;
WNDCLASSA
wc
;
INITCOMMONCONTROLSEX
icex
;
icex
.
dwSize
=
sizeof
(
INITCOMMONCONTROLSEX
);
InitCommonControls
();
icex
.
dwICC
=
ICC_USEREX_CLASSES
;
InitCommonControlsEx
(
&
icex
);
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
cbClsExtra
=
0
;
wc
.
cbClsExtra
=
0
;
...
...
dlls/comctl32/tests/datetime.c
View file @
7a5497b5
...
@@ -560,11 +560,7 @@ static void test_datetime_control(void)
...
@@ -560,11 +560,7 @@ static void test_datetime_control(void)
START_TEST
(
datetime
)
START_TEST
(
datetime
)
{
{
INITCOMMONCONTROLSEX
icex
;
InitCommonControls
();
icex
.
dwSize
=
sizeof
(
icex
);
icex
.
dwICC
=
ICC_DATE_CLASSES
;
InitCommonControlsEx
(
&
icex
);
init_msg_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
init_msg_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
test_datetime_control
();
test_datetime_control
();
...
...
dlls/comctl32/tests/header.c
View file @
7a5497b5
...
@@ -1482,11 +1482,8 @@ static LRESULT CALLBACK HeaderTestWndProc(HWND hWnd, UINT msg, WPARAM wParam, LP
...
@@ -1482,11 +1482,8 @@ static LRESULT CALLBACK HeaderTestWndProc(HWND hWnd, UINT msg, WPARAM wParam, LP
static
void
init
(
void
)
{
static
void
init
(
void
)
{
WNDCLASSA
wc
;
WNDCLASSA
wc
;
INITCOMMONCONTROLSEX
icex
;
icex
.
dwSize
=
sizeof
(
INITCOMMONCONTROLSEX
);
InitCommonControls
();
icex
.
dwICC
=
ICC_USEREX_CLASSES
;
InitCommonControlsEx
(
&
icex
);
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
cbClsExtra
=
0
;
wc
.
cbClsExtra
=
0
;
...
...
dlls/comctl32/tests/listview.c
View file @
7a5497b5
...
@@ -1040,11 +1040,7 @@ static void test_item_position(void)
...
@@ -1040,11 +1040,7 @@ static void test_item_position(void)
START_TEST
(
listview
)
START_TEST
(
listview
)
{
{
INITCOMMONCONTROLSEX
icc
;
InitCommonControls
();
icc
.
dwICC
=
0
;
icc
.
dwSize
=
sizeof
icc
;
InitCommonControlsEx
(
&
icc
);
init_msg_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
init_msg_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
...
...
dlls/comctl32/tests/monthcal.c
View file @
7a5497b5
...
@@ -313,10 +313,9 @@ static void test_monthcal(void)
...
@@ -313,10 +313,9 @@ static void test_monthcal(void)
{
{
HWND
hwnd
;
HWND
hwnd
;
SYSTEMTIME
st
[
2
],
st1
[
2
];
SYSTEMTIME
st
[
2
],
st1
[
2
];
INITCOMMONCONTROLSEX
ic
=
{
sizeof
(
INITCOMMONCONTROLSEX
),
ICC_DATE_CLASSES
};
int
res
,
month_range
;
int
res
,
month_range
;
InitCommonControls
Ex
(
&
ic
);
InitCommonControls
(
);
hwnd
=
CreateWindowA
(
MONTHCAL_CLASSA
,
"MonthCal"
,
WS_POPUP
|
WS_VISIBLE
,
CW_USEDEFAULT
,
hwnd
=
CreateWindowA
(
MONTHCAL_CLASSA
,
"MonthCal"
,
WS_POPUP
|
WS_VISIBLE
,
CW_USEDEFAULT
,
0
,
300
,
300
,
0
,
0
,
NULL
,
NULL
);
0
,
300
,
300
,
0
,
0
,
NULL
,
NULL
);
ok
(
hwnd
!=
NULL
,
"Failed to create MonthCal
\n
"
);
ok
(
hwnd
!=
NULL
,
"Failed to create MonthCal
\n
"
);
...
@@ -478,9 +477,8 @@ static HWND create_monthcal_control(DWORD style, HWND parent_window)
...
@@ -478,9 +477,8 @@ static HWND create_monthcal_control(DWORD style, HWND parent_window)
{
{
struct
subclass_info
*
info
;
struct
subclass_info
*
info
;
HWND
hwnd
;
HWND
hwnd
;
static
const
INITCOMMONCONTROLSEX
ic
=
{
sizeof
(
INITCOMMONCONTROLSEX
),
ICC_DATE_CLASSES
};
InitCommonControls
Ex
(
&
ic
);
InitCommonControls
(
);
info
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
struct
subclass_info
));
info
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
struct
subclass_info
));
if
(
!
info
)
if
(
!
info
)
...
...
dlls/comctl32/tests/progress.c
View file @
7a5497b5
...
@@ -91,12 +91,9 @@ static void update_window(HWND hWnd)
...
@@ -91,12 +91,9 @@ static void update_window(HWND hWnd)
static
void
init
(
void
)
static
void
init
(
void
)
{
{
WNDCLASSA
wc
;
WNDCLASSA
wc
;
INITCOMMONCONTROLSEX
icex
;
RECT
rect
;
RECT
rect
;
icex
.
dwSize
=
sizeof
(
INITCOMMONCONTROLSEX
);
InitCommonControls
();
icex
.
dwICC
=
ICC_PROGRESS_CLASS
;
InitCommonControlsEx
(
&
icex
);
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
cbClsExtra
=
0
;
wc
.
cbClsExtra
=
0
;
...
...
dlls/comctl32/tests/rebar.c
View file @
7a5497b5
...
@@ -786,14 +786,11 @@ static void bandinfo_test(void)
...
@@ -786,14 +786,11 @@ static void bandinfo_test(void)
START_TEST
(
rebar
)
START_TEST
(
rebar
)
{
{
INITCOMMONCONTROLSEX
icc
;
WNDCLASSA
wc
;
WNDCLASSA
wc
;
MSG
msg
;
MSG
msg
;
RECT
rc
;
RECT
rc
;
icc
.
dwSize
=
sizeof
(
icc
);
InitCommonControls
();
icc
.
dwICC
=
ICC_COOL_CLASSES
;
InitCommonControlsEx
(
&
icc
);
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
cbClsExtra
=
0
;
wc
.
cbClsExtra
=
0
;
...
...
dlls/comctl32/tests/treeview.c
View file @
7a5497b5
...
@@ -651,11 +651,8 @@ START_TEST(treeview)
...
@@ -651,11 +651,8 @@ START_TEST(treeview)
{
{
WNDCLASSA
wc
;
WNDCLASSA
wc
;
MSG
msg
;
MSG
msg
;
INITCOMMONCONTROLSEX
icex
;
icex
.
dwSize
=
sizeof
(
INITCOMMONCONTROLSEX
);
InitCommonControls
();
icex
.
dwICC
=
ICC_TREEVIEW_CLASSES
;
InitCommonControlsEx
(
&
icex
);
init_msg_sequences
(
MsgSequences
,
NUM_MSG_SEQUENCES
);
init_msg_sequences
(
MsgSequences
,
NUM_MSG_SEQUENCES
);
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
...
...
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