diff --git a/wCenterWindow.sln b/wCenterWindow.sln index 2e42ca0..f277e52 100644 --- a/wCenterWindow.sln +++ b/wCenterWindow.sln @@ -7,7 +7,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wCenterWindow", "wCenterWin EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C7B4FD1E-DC1B-46A4-842C-5130F09EFCB5}" ProjectSection(SolutionItems) = preProject - Version.h = Version.h + Version.ini = Version.ini EndProjectSection EndProject Global diff --git a/wCenterWindow/wCenterWindow.cpp b/wCenterWindow/wCenterWindow.cpp index aa34978..0b2209b 100644 --- a/wCenterWindow/wCenterWindow.cpp +++ b/wCenterWindow/wCenterWindow.cpp @@ -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; } diff --git a/wCenterWindow/wCenterWindow.rc b/wCenterWindow/wCenterWindow.rc index 246ebd3..e752b58 100644 Binary files a/wCenterWindow/wCenterWindow.rc and b/wCenterWindow/wCenterWindow.rc differ