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
90b7baa2
Commit
90b7baa2
authored
Mar 03, 2008
by
Peter Oberndorfer
Committed by
Alexandre Julliard
Mar 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmdlgtst: Remove unneeded DLGPROC casts.
parent
d8b2f161
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
cmdlgtst.c
programs/cmdlgtst/cmdlgtst.c
+8
-8
No files found.
programs/cmdlgtst/cmdlgtst.c
View file @
90b7baa2
...
...
@@ -813,37 +813,37 @@ static INT_PTR CALLBACK mwcd_About(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM l
static
void
mwc_ColorSetup
(
HWND
hWnd
)
{
int
r
=
DialogBox
(
g_hInstance
,
"Color_Flags_Dialog"
,
hWnd
,
(
DLGPROC
)
mwcd_ColorSetup
);
int
r
=
DialogBox
(
g_hInstance
,
"Color_Flags_Dialog"
,
hWnd
,
mwcd_ColorSetup
);
if
(
r
<
0
)
{
MessageBox
(
hWnd
,
"Failure opening Color_Flags_Dialog box"
,
"Error"
,
MB_ICONASTERISK
|
MB_OK
);
}
}
static
void
mwc_FontSetup
(
HWND
hWnd
)
{
int
r
=
DialogBox
(
g_hInstance
,
"Font_Flags_Dialog"
,
hWnd
,
(
DLGPROC
)
mwcd_FontSetup
);
int
r
=
DialogBox
(
g_hInstance
,
"Font_Flags_Dialog"
,
hWnd
,
mwcd_FontSetup
);
if
(
r
<
0
)
{
MessageBox
(
hWnd
,
"Failure opening Font_Flags_Dialog box"
,
"Error"
,
MB_ICONASTERISK
|
MB_OK
);
}
}
static
void
mwc_FindReplaceSetup
(
HWND
hWnd
)
{
int
r
=
DialogBox
(
g_hInstance
,
"Find_Flags_Dialog"
,
hWnd
,
(
DLGPROC
)
mwcd_FindSetup
);
int
r
=
DialogBox
(
g_hInstance
,
"Find_Flags_Dialog"
,
hWnd
,
mwcd_FindSetup
);
if
(
r
<
0
)
{
MessageBox
(
hWnd
,
"Failure opening Find_Flags_Dialog box"
,
"Error"
,
MB_ICONASTERISK
|
MB_OK
);
}
}
static
void
mwc_PrintSetup
(
HWND
hWnd
)
{
int
r
=
DialogBox
(
g_hInstance
,
"Print_Flags_Dialog"
,
hWnd
,
(
DLGPROC
)
mwcd_PrintSetup
);
int
r
=
DialogBox
(
g_hInstance
,
"Print_Flags_Dialog"
,
hWnd
,
mwcd_PrintSetup
);
if
(
r
<
0
)
{
MessageBox
(
hWnd
,
"Failure opening Print_Flags_Dialog box"
,
"Error"
,
MB_ICONASTERISK
|
MB_OK
);
}
}
static
void
mwc_PageSetup
(
HWND
hWnd
)
{
int
r
=
DialogBox
(
g_hInstance
,
"PageSetup_Flags_Dialog"
,
hWnd
,
(
DLGPROC
)
mwcd_PageSetup
);
int
r
=
DialogBox
(
g_hInstance
,
"PageSetup_Flags_Dialog"
,
hWnd
,
mwcd_PageSetup
);
if
(
r
<
0
)
{
MessageBox
(
hWnd
,
"Failure opening PageSetup_Flags_Dialog box"
,
"Error"
,
MB_ICONASTERISK
|
MB_OK
);
}
}
static
void
mwc_FileSetup
(
HWND
hWnd
)
{
int
r
=
DialogBox
(
g_hInstance
,
"File_Flags_Dialog"
,
hWnd
,
(
DLGPROC
)
mwcd_FileSetup
);
int
r
=
DialogBox
(
g_hInstance
,
"File_Flags_Dialog"
,
hWnd
,
mwcd_FileSetup
);
if
(
r
<
0
)
{
MessageBox
(
hWnd
,
"Failure opening File_Flags_Dialog box"
,
"Error"
,
MB_ICONASTERISK
|
MB_OK
);
}
}
...
...
@@ -964,10 +964,10 @@ static LRESULT CALLBACK EXPORT mainWindowDispatcher(
mwc_PageSetup
(
hWnd
);
return
1
;
case
CM_H_ABOUT
:
DialogBox
(
g_hInstance
,
"AboutDialog"
,
hWnd
,
(
DLGPROC
)
mwcd_About
);
DialogBox
(
g_hInstance
,
"AboutDialog"
,
hWnd
,
mwcd_About
);
return
1
;
case
CM_H_USAGE
:
DialogBox
(
g_hInstance
,
"UsageDialog"
,
hWnd
,
(
DLGPROC
)
mwcd_About
);
DialogBox
(
g_hInstance
,
"UsageDialog"
,
hWnd
,
mwcd_About
);
/* return value? *What* return value? */
return
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