Hid the donation link.
This commit is contained in:
@@ -7,7 +7,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wCenterWindow", "wCenterWin
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C7B4FD1E-DC1B-46A4-842C-5130F09EFCB5}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C7B4FD1E-DC1B-46A4-842C-5130F09EFCB5}"
|
||||||
ProjectSection(SolutionItems) = preProject
|
ProjectSection(SolutionItems) = preProject
|
||||||
Version.h = Version.h
|
Version.ini = Version.ini
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
#include "framework.h"
|
#include "framework.h"
|
||||||
#include "wCenterWindow.h"
|
#include "wCenterWindow.h"
|
||||||
|
|
||||||
|
#define NO_DONATION
|
||||||
#define KEY_I 0x49
|
#define KEY_I 0x49
|
||||||
#define KEY_C 0x43
|
#define KEY_C 0x43
|
||||||
#define KEY_V 0x56
|
#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_COPYRIGHT, szAboutCopyright);
|
||||||
SetDlgItemTextW(hDlg, IDC_ABOUT_BUILDTIME, szAboutBuildTime);
|
SetDlgItemTextW(hDlg, IDC_ABOUT_BUILDTIME, szAboutBuildTime);
|
||||||
SetDlgItemTextW(hDlg, IDC_ABOUTHELP, szAboutHelp);
|
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;
|
return (INT_PTR)TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user