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
04aefe86
Commit
04aefe86
authored
Nov 04, 2007
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Nov 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Refer to main menu using IDM_MAINMENU.
parent
6753fdc3
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
15 additions
and
14 deletions
+15
-14
De.rc
programs/wordpad/De.rc
+1
-1
En.rc
programs/wordpad/En.rc
+1
-1
Fr.rc
programs/wordpad/Fr.rc
+1
-1
Hu.rc
programs/wordpad/Hu.rc
+1
-1
Ko.rc
programs/wordpad/Ko.rc
+2
-1
Nl.rc
programs/wordpad/Nl.rc
+1
-1
No.rc
programs/wordpad/No.rc
+1
-1
Pl.rc
programs/wordpad/Pl.rc
+1
-1
Ru.rc
programs/wordpad/Ru.rc
+1
-1
Tr.rc
programs/wordpad/Tr.rc
+1
-1
resource.h
programs/wordpad/resource.h
+2
-1
wordpad.c
programs/wordpad/wordpad.c
+2
-3
No files found.
programs/wordpad/De.rc
View file @
04aefe86
...
...
@@ -18,7 +18,7 @@
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Datei"
BEGIN
...
...
programs/wordpad/En.rc
View file @
04aefe86
...
...
@@ -18,7 +18,7 @@
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
...
...
programs/wordpad/Fr.rc
View file @
04aefe86
...
...
@@ -18,7 +18,7 @@
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Fichier"
BEGIN
...
...
programs/wordpad/Hu.rc
View file @
04aefe86
...
...
@@ -18,7 +18,7 @@
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Fjl"
BEGIN
...
...
programs/wordpad/Ko.rc
View file @
04aefe86
...
...
@@ -19,7 +19,8 @@
LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "파일(&F)"
BEGIN
...
...
programs/wordpad/Nl.rc
View file @
04aefe86
...
...
@@ -18,7 +18,7 @@
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Bestand"
BEGIN
...
...
programs/wordpad/No.rc
View file @
04aefe86
...
...
@@ -18,7 +18,7 @@
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Fil"
BEGIN
...
...
programs/wordpad/Pl.rc
View file @
04aefe86
...
...
@@ -19,7 +19,7 @@
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
MAINMENU MENU DISCARDABLE
IDM_
MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Plik"
BEGIN
...
...
programs/wordpad/Ru.rc
View file @
04aefe86
...
...
@@ -18,7 +18,7 @@
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&"
BEGIN
...
...
programs/wordpad/Tr.rc
View file @
04aefe86
...
...
@@ -20,7 +20,7 @@
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
MAINMENU MENU DISCARDABLE
IDM_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "&Dosya"
BEGIN
...
...
programs/wordpad/resource.h
View file @
04aefe86
...
...
@@ -138,7 +138,8 @@
#define IDD_TABSTOPS 2103
#define IDD_FORMATOPTS 2104
#define IDM_POPUP 2200
#define IDM_MAINMENU 2200
#define IDM_POPUP 2201
#define IDB_TOOLBAR 100
#define IDB_FORMATBAR 101
...
...
programs/wordpad/wordpad.c
View file @
04aefe86
...
...
@@ -52,7 +52,6 @@
/* use LoadString */
static
const
WCHAR
xszAppTitle
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'W'
,
'o'
,
'r'
,
'd'
,
'p'
,
'a'
,
'd'
,
0
};
static
const
WCHAR
xszMainMenu
[]
=
{
'M'
,
'A'
,
'I'
,
'N'
,
'M'
,
'E'
,
'N'
,
'U'
,
0
};
static
const
WCHAR
wszRichEditClass
[]
=
{
'R'
,
'I'
,
'C'
,
'H'
,
'E'
,
'D'
,
'I'
,
'T'
,
'2'
,
'0'
,
'W'
,
0
};
static
const
WCHAR
wszMainWndClass
[]
=
{
'W'
,
'O'
,
'R'
,
'D'
,
'P'
,
'A'
,
'D'
,
'T'
,
'O'
,
'P'
,
0
};
...
...
@@ -1528,7 +1527,7 @@ static void preview_bar_show(BOOL show)
static
void
preview_exit
(
void
)
{
HINSTANCE
hInstance
=
(
HINSTANCE
)
GetWindowLongPtr
(
hMainWnd
,
GWLP_HINSTANCE
);
HMENU
hMenu
=
LoadMenuW
(
hInstance
,
xszMainMenu
);
HMENU
hMenu
=
LoadMenuW
(
hInstance
,
MAKEINTRESOURCEW
(
IDM_MAINMENU
)
);
set_bar_states
();
preview
.
window
.
right
=
0
;
...
...
@@ -3261,7 +3260,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
wc
.
hIcon
=
LoadIconW
(
hInstance
,
MAKEINTRESOURCEW
(
IDI_WORDPAD
));
wc
.
hCursor
=
LoadCursor
(
NULL
,
IDC_IBEAM
);
wc
.
hbrBackground
=
GetSysColorBrush
(
COLOR_WINDOW
);
wc
.
lpszMenuName
=
xszMainMenu
;
wc
.
lpszMenuName
=
MAKEINTRESOURCEW
(
IDM_MAINMENU
)
;
wc
.
lpszClassName
=
wszMainWndClass
;
RegisterClassW
(
&
wc
);
...
...
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