mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 15:13:38 +00:00
Allow the user to put a mark in the debug log by adding a item in the
SYSMENU. The messages needs implementation in all other languages than English and German.
This commit is contained in:
parent
2e52589dea
commit
3700777e9a
|
@ -98,3 +98,20 @@ Bye,
|
|||
|
||||
Frans van Dorsselaer
|
||||
dorssel@rulhm1.LeidenUniv.nl
|
||||
**************************************************************
|
||||
1998, October
|
||||
|
||||
Subject: Put Mark in DebugLog
|
||||
|
||||
I added an item to SYSMENU to put a mark in the Debuglog by request of the
|
||||
User. I picked 61762 as the next ID after SC_ABOUTWINE. This item needs
|
||||
translations to all supported languages. At present it is only done for
|
||||
|
||||
* English
|
||||
* German
|
||||
|
||||
After you implemented it for your language, please add it to the list above.
|
||||
|
||||
Bye
|
||||
|
||||
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
|
|
@ -13,6 +13,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE
|
|||
MENUITEM "&Wechseln zu ...\tCtrl-Esc", 61744
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Über WINE ...", 61761
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Setze &Marke in die Debug-Ausgabe", 61762
|
||||
}
|
||||
|
||||
EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE
|
||||
|
|
|
@ -14,6 +14,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE
|
|||
MENUITEM "&Switch to ...\tCtrl-Esc", 61744
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&About WINE ...", 61761
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Put mark in debug log", 61762
|
||||
}
|
||||
|
||||
EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE
|
||||
|
|
|
@ -36,6 +36,7 @@ static HBITMAP16 hbitmapRestore = 0;
|
|||
static HBITMAP16 hbitmapRestoreD = 0;
|
||||
|
||||
#define SC_ABOUTWINE (SC_SCREENSAVE+1)
|
||||
#define SC_PUTMARK (SC_SCREENSAVE+2)
|
||||
|
||||
/* Some useful macros */
|
||||
#define HAS_DLGFRAME(style,exStyle) \
|
||||
|
@ -2508,6 +2509,9 @@ LONG NC_HandleSysCommand( HWND32 hwnd, WPARAM16 wParam, POINT16 pt )
|
|||
case SC_SCREENSAVE:
|
||||
if (wParam == SC_ABOUTWINE)
|
||||
ShellAbout32A(hwnd,"Wine", WINE_RELEASE_INFO, 0);
|
||||
else
|
||||
if (wParam == SC_PUTMARK)
|
||||
TRACE(shell,"Mark requested by user\n");
|
||||
break;
|
||||
|
||||
case SC_HOTKEY:
|
||||
|
|
Loading…
Reference in a new issue