[PATCH 1/4] wordpad: Switch the main menu to MENUEX so that the list menu can be given an id.

Huw Davies huw at codeweavers.com
Tue Oct 11 07:01:09 CDT 2016


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 programs/wordpad/wordpad.h  |  1 +
 programs/wordpad/wordpad.rc | 22 +++++++++++-----------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/programs/wordpad/wordpad.h b/programs/wordpad/wordpad.h
index 901b19c..0baf8c9 100644
--- a/programs/wordpad/wordpad.h
+++ b/programs/wordpad/wordpad.h
@@ -80,6 +80,7 @@
 #define ID_UCLETTER 1318
 #define ID_LCROMAN 1319
 #define ID_UCROMAN 1320
+#define ID_LISTMENU 1325
 
 #define ID_FONTSETTINGS 1330
 
diff --git a/programs/wordpad/wordpad.rc b/programs/wordpad/wordpad.rc
index 147beea..368d169 100644
--- a/programs/wordpad/wordpad.rc
+++ b/programs/wordpad/wordpad.rc
@@ -23,7 +23,7 @@
 
 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
 
-IDM_MAINMENU MENU
+IDM_MAINMENU MENUEX
 BEGIN
     POPUP "&File"
     BEGIN
@@ -81,17 +81,17 @@ BEGIN
     POPUP "F&ormat"
     BEGIN
         MENUITEM "&Font...",                     ID_FONTSETTINGS
-        POPUP "&Lists"
+        POPUP "&Lists",                          ID_LISTMENU
         BEGIN
-            MENUITEM "&Bullet points"                ID_BULLET
-            MENUITEM "Numbers"                       ID_NUMBERING
-            MENUITEM "Letters - lower case"          ID_LCLETTER
-            MENUITEM "Letters - upper case"          ID_UCLETTER
-            MENUITEM "Roman numerals - lower case"   ID_LCROMAN
-            MENUITEM "Roman numerals - upper case"   ID_UCROMAN
+            MENUITEM "&Bullet points",                ID_BULLET
+            MENUITEM "Numbers",                       ID_NUMBERING
+            MENUITEM "Letters - lower case",          ID_LCLETTER
+            MENUITEM "Letters - upper case",          ID_UCLETTER
+            MENUITEM "Roman numerals - lower case",   ID_LCROMAN
+            MENUITEM "Roman numerals - upper case",   ID_UCROMAN
         END
-        MENUITEM "&Paragraph..."                 ID_PARAFORMAT
-        MENUITEM "&Tabs..."                      ID_TABSTOPS
+        MENUITEM "&Paragraph...",                 ID_PARAFORMAT
+        MENUITEM "&Tabs...",                      ID_TABSTOPS
         POPUP "Backgroun&d"
         BEGIN
             MENUITEM "&System\tCtrl+1",         ID_BACK_1
@@ -100,7 +100,7 @@ BEGIN
     END
     POPUP "&Help"
     BEGIN
-        MENUITEM "&About Wine Wordpad"       ID_ABOUT
+        MENUITEM "&About Wine Wordpad",      ID_ABOUT
     END
 END
 
-- 
2.8.2




More information about the wine-patches mailing list