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
5464d542
Commit
5464d542
authored
Sep 06, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Use the PROPSHEETHEADERA_V1_SIZE macros for compatibility with…
comctl32/tests: Use the PROPSHEETHEADERA_V1_SIZE macros for compatibility with old comctl32 versions.
parent
4c3c2b12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
propsheet.c
dlls/comctl32/tests/propsheet.c
+8
-8
No files found.
dlls/comctl32/tests/propsheet.c
View file @
5464d542
...
...
@@ -121,7 +121,7 @@ static void test_title(void)
hpsp
[
0
]
=
CreatePropertySheetPageA
(
&
psp
);
memset
(
&
psh
,
0
,
sizeof
(
psh
));
psh
.
dwSize
=
CCSIZEOF_STRUCT
(
PROPSHEETHEADERA
,
pfnCallback
)
;
psh
.
dwSize
=
PROPSHEETHEADERA_V1_SIZE
;
psh
.
dwFlags
=
PSH_MODELESS
|
PSH_USECALLBACK
;
psh
.
pszCaption
=
"test caption"
;
psh
.
nPages
=
1
;
...
...
@@ -160,7 +160,7 @@ static void test_nopage(void)
hpsp
[
0
]
=
CreatePropertySheetPageA
(
&
psp
);
memset
(
&
psh
,
0
,
sizeof
(
psh
));
psh
.
dwSize
=
CCSIZEOF_STRUCT
(
PROPSHEETHEADERA
,
pfnCallback
)
;
psh
.
dwSize
=
PROPSHEETHEADERA_V1_SIZE
;
psh
.
dwFlags
=
PSH_MODELESS
|
PSH_USECALLBACK
;
psh
.
pszCaption
=
"test caption"
;
psh
.
nPages
=
1
;
...
...
@@ -237,7 +237,7 @@ static void test_disableowner(void)
hpsp
[
0
]
=
CreatePropertySheetPageA
(
&
psp
);
memset
(
&
psh
,
0
,
sizeof
(
psh
));
psh
.
dwSize
=
sizeof
(
psh
)
;
psh
.
dwSize
=
PROPSHEETHEADERA_V1_SIZE
;
psh
.
dwFlags
=
PSH_USECALLBACK
;
psh
.
pszCaption
=
"test caption"
;
psh
.
nPages
=
1
;
...
...
@@ -317,7 +317,7 @@ static void test_wiznavigation(void)
/* set up the property sheet dialog */
memset
(
&
psh
,
0
,
sizeof
(
psh
));
psh
.
dwSize
=
CCSIZEOF_STRUCT
(
PROPSHEETHEADERA
,
pfnCallback
)
;
psh
.
dwSize
=
PROPSHEETHEADERA_V1_SIZE
;
psh
.
dwFlags
=
PSH_MODELESS
|
PSH_WIZARD
;
psh
.
pszCaption
=
"A Wizard"
;
psh
.
nPages
=
4
;
...
...
@@ -420,7 +420,7 @@ static void test_buttons(void)
hpsp
[
0
]
=
CreatePropertySheetPageA
(
&
psp
);
memset
(
&
psh
,
0
,
sizeof
(
psh
));
psh
.
dwSize
=
CCSIZEOF_STRUCT
(
PROPSHEETHEADERA
,
pfnCallback
)
;
psh
.
dwSize
=
PROPSHEETHEADERA_V1_SIZE
;
psh
.
dwFlags
=
PSH_MODELESS
|
PSH_USECALLBACK
;
psh
.
pszCaption
=
"test caption"
;
psh
.
nPages
=
1
;
...
...
@@ -499,7 +499,7 @@ static void test_custom_default_button(void)
psp
[
0
].
pszTitle
=
"Page1"
;
psp
[
0
].
lParam
=
0
;
psh
.
dwSize
=
sizeof
(
PROPSHEETHEADERA
)
;
psh
.
dwSize
=
PROPSHEETHEADERA_V1_SIZE
;
psh
.
dwFlags
=
PSH_PROPSHEETPAGE
|
PSH_MODELESS
;
psh
.
hwndParent
=
GetDesktopWindow
();
psh
.
hInstance
=
GetModuleHandleA
(
NULL
);
...
...
@@ -729,7 +729,7 @@ static void test_messages(void)
hpsp
[
0
]
=
CreatePropertySheetPageA
(
&
psp
);
memset
(
&
psh
,
0
,
sizeof
(
psh
));
psh
.
dwSize
=
CCSIZEOF_STRUCT
(
PROPSHEETHEADERA
,
pfnCallback
)
;
psh
.
dwSize
=
PROPSHEETHEADERA_V1_SIZE
;
psh
.
dwFlags
=
PSH_NOAPPLYNOW
|
PSH_WIZARD
|
PSH_USECALLBACK
|
PSH_MODELESS
|
PSH_USEICONID
;
psh
.
pszCaption
=
"test caption"
;
...
...
@@ -772,7 +772,7 @@ static void test_PSM_ADDPAGE(void)
hpsp
[
2
]
=
CreatePropertySheetPageA
(
&
psp
);
memset
(
&
psh
,
0
,
sizeof
(
psh
));
psh
.
dwSize
=
sizeof
(
psh
)
;
psh
.
dwSize
=
PROPSHEETHEADERA_V1_SIZE
;
psh
.
dwFlags
=
PSH_MODELESS
;
psh
.
pszCaption
=
"test caption"
;
psh
.
nPages
=
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