Hid the donation link.

This commit is contained in:
2023-04-08 11:55:56 +03:00
parent 8cd54374ab
commit 28ea979492
3 changed files with 6 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
#include "framework.h"
#include "wCenterWindow.h"
#define NO_DONATION
#define KEY_I 0x49
#define KEY_C 0x43
#define KEY_V 0x56
@@ -520,6 +521,10 @@ INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
SetDlgItemTextW(hDlg, IDC_ABOUT_COPYRIGHT, szAboutCopyright);
SetDlgItemTextW(hDlg, IDC_ABOUT_BUILDTIME, szAboutBuildTime);
SetDlgItemTextW(hDlg, IDC_ABOUTHELP, szAboutHelp);
#ifdef NO_DONATION
HWND hLink = GetDlgItem(hDlg, IDC_DONATIONLINK);
if (hLink) DestroyWindow(hLink);
#endif // !NO_DONATION
return (INT_PTR)TRUE;
break;
}