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
d8b2f161
Commit
d8b2f161
authored
Mar 03, 2008
by
Peter Oberndorfer
Committed by
Alexandre Julliard
Mar 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Use correct prototype for dialog functions.
parent
b0269c94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wordpad.c
programs/wordpad/wordpad.c
+4
-4
No files found.
programs/wordpad/wordpad.c
View file @
d8b2f161
...
...
@@ -1212,7 +1212,7 @@ static void number_with_units(LPWSTR buffer, int number)
MultiByteToWideChar
(
CP_ACP
,
0
,
string
,
-
1
,
buffer
,
MAX_STRING_LEN
);
}
BOOL
CALLBACK
datetime_proc
(
HWND
hWnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
static
INT_PTR
CALLBACK
datetime_proc
(
HWND
hWnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
{
switch
(
message
)
{
...
...
@@ -1263,7 +1263,7 @@ BOOL CALLBACK datetime_proc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPara
return
FALSE
;
}
BOOL
CALLBACK
newfile_proc
(
HWND
hWnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
static
INT_PTR
CALLBACK
newfile_proc
(
HWND
hWnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
{
switch
(
message
)
{
...
...
@@ -1844,7 +1844,7 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
{
HINSTANCE
hInstance
=
(
HINSTANCE
)
GetWindowLongPtr
(
hWnd
,
GWLP_HINSTANCE
);
int
ret
=
DialogBox
(
hInstance
,
MAKEINTRESOURCE
(
IDD_NEWFILE
),
hWnd
,
(
DLGPROC
)
newfile_proc
);
newfile_proc
);
if
(
ret
!=
ID_NEWFILE_ABORT
)
{
...
...
@@ -2160,7 +2160,7 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
case
ID_DATETIME
:
{
HINSTANCE
hInstance
=
(
HINSTANCE
)
GetWindowLongPtr
(
hWnd
,
GWLP_HINSTANCE
);
DialogBoxW
(
hInstance
,
MAKEINTRESOURCEW
(
IDD_DATETIME
),
hWnd
,
(
DLGPROC
)
datetime_proc
);
DialogBoxW
(
hInstance
,
MAKEINTRESOURCEW
(
IDD_DATETIME
),
hWnd
,
datetime_proc
);
break
;
}
...
...
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