mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 19:38:26 -06:00
Windows: Add a donation menu entry
This commit is contained in:
@@ -6274,6 +6274,12 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (lw == IDM_DONATE)
|
||||
{
|
||||
Applink ("donate", TRUE, "");
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (lw == IDM_LICENSE)
|
||||
{
|
||||
TextInfoDialogBox (TC_TBXID_LEGAL_NOTICES);
|
||||
|
||||
@@ -609,6 +609,7 @@ BEGIN
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Analyze a System Crash...", IDM_ANALYZE_SYSTEM_CRASH
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Donate now...", IDM_DONATE
|
||||
MENUITEM "Contact", IDM_CONTACT
|
||||
MENUITEM "Legal Notices", IDM_LICENSE
|
||||
MENUITEM "About", IDM_ABOUT
|
||||
|
||||
@@ -223,6 +223,7 @@
|
||||
#define IDM_ADD_VOLUME_TO_SYSTEM_FAVORITES 40061
|
||||
#define IDM_PERFORMANCE_SETTINGS 40062
|
||||
#define IDM_ANALYZE_SYSTEM_CRASH 40063
|
||||
#define IDM_DONATE 40064
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
@@ -230,7 +231,7 @@
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NO_MFC 1
|
||||
#define _APS_NEXT_RESOURCE_VALUE 118
|
||||
#define _APS_NEXT_COMMAND_VALUE 40064
|
||||
#define _APS_NEXT_COMMAND_VALUE 40065
|
||||
#define _APS_NEXT_CONTROL_VALUE 1140
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user