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
1fce5541
Commit
1fce5541
authored
Sep 20, 2007
by
Peter Oberndorfer
Committed by
Alexandre Julliard
Sep 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix dialog proc prototypes.
parent
70238568
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dialog.c
dlls/user32/tests/dialog.c
+5
-5
No files found.
dlls/user32/tests/dialog.c
View file @
1fce5541
...
...
@@ -676,7 +676,7 @@ static void IsDialogMessageWTest (void)
}
static
LRESULT
CALLBACK
delayFocusDlgWinProc
(
HWND
hDlg
,
UINT
uiMsg
,
WPARAM
wParam
,
static
INT_PTR
CALLBACK
delayFocusDlgWinProc
(
HWND
hDlg
,
UINT
uiMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
switch
(
uiMsg
)
...
...
@@ -716,7 +716,7 @@ static LRESULT CALLBACK delayFocusDlgWinProc (HWND hDlg, UINT uiMsg, WPARAM wPar
return
FALSE
;
}
static
LRESULT
CALLBACK
focusDlgWinProc
(
HWND
hDlg
,
UINT
uiMsg
,
WPARAM
wParam
,
static
INT_PTR
CALLBACK
focusDlgWinProc
(
HWND
hDlg
,
UINT
uiMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
switch
(
uiMsg
)
...
...
@@ -781,7 +781,7 @@ static void InitialFocusTest (void)
g_styleInitialFocusT1
=
-
1
;
g_styleInitialFocusT2
=
-
1
;
DialogBoxA
(
g_hinst
,
"RADIO_TEST_DIALOG"
,
NULL
,
(
DLGPROC
)
delayFocusDlgWinProc
);
DialogBoxA
(
g_hinst
,
"RADIO_TEST_DIALOG"
,
NULL
,
delayFocusDlgWinProc
);
ok
(((
g_styleInitialFocusT1
&
WS_TABSTOP
)
==
0
),
"Error in wrc - Detected WS_TABSTOP as default style for GROUPBOX
\n
"
);
...
...
@@ -812,7 +812,7 @@ static void InitialFocusTest (void)
g_styleInitialFocusT1
=
-
1
;
g_styleInitialFocusT2
=
-
1
;
DialogBoxA
(
g_hinst
,
"RADIO_TEST_DIALOG"
,
NULL
,
(
DLGPROC
)
delayFocusDlgWinProc
);
DialogBoxA
(
g_hinst
,
"RADIO_TEST_DIALOG"
,
NULL
,
delayFocusDlgWinProc
);
ok
((
g_hwndInitialFocusT1
==
g_hwndButton2
),
"Error in initial focus when WM_INITDIALOG returned TRUE: "
...
...
@@ -839,7 +839,7 @@ static void InitialFocusTest (void)
pTemplate
=
(
LPDLGTEMPLATEA
)
LockResource
(
hTemplate
);
g_hwndInitialFocusT1
=
0
;
hDlg
=
CreateDialogIndirectParamW
(
g_hinst
,
pTemplate
,
NULL
,
(
DLGPROC
)
focusDlgWinProc
,
0
);
hDlg
=
CreateDialogIndirectParamW
(
g_hinst
,
pTemplate
,
NULL
,
focusDlgWinProc
,
0
);
ok
(
hDlg
!=
0
,
"Failed to create test dialog.
\n
"
);
ok
((
g_hwndInitialFocusT1
==
0
),
...
...
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