Hided 'Donation:' string.
This commit is contained in:
@@ -33,10 +33,11 @@
|
|||||||
#define IDC_BUTTON_CLOSE 1007
|
#define IDC_BUTTON_CLOSE 1007
|
||||||
#define IDC_ABOUTHELP 1008
|
#define IDC_ABOUTHELP 1008
|
||||||
#define IDC_DONATIONLINK 1009
|
#define IDC_DONATIONLINK 1009
|
||||||
#define IDC_ABOUT_PROGNAME 1010
|
#define IDC_DONATIONTEXT 1010
|
||||||
#define IDC_ABOUT_COPYRIGHT 1011
|
#define IDC_ABOUT_PROGNAME 1011
|
||||||
#define IDC_ABOUT_BUILDTIME 1012
|
#define IDC_ABOUT_COPYRIGHT 1012
|
||||||
#define IDC_ABOUTEDIT 1013
|
#define IDC_ABOUT_BUILDTIME 1013
|
||||||
|
#define IDC_ABOUTEDIT 1014
|
||||||
#define IDC_STATIC -1
|
#define IDC_STATIC -1
|
||||||
|
|
||||||
// Next default values for new objects
|
// Next default values for new objects
|
||||||
@@ -46,7 +47,7 @@
|
|||||||
#define _APS_NO_MFC 1
|
#define _APS_NO_MFC 1
|
||||||
#define _APS_NEXT_RESOURCE_VALUE 130
|
#define _APS_NEXT_RESOURCE_VALUE 130
|
||||||
#define _APS_NEXT_COMMAND_VALUE 32771
|
#define _APS_NEXT_COMMAND_VALUE 32771
|
||||||
#define _APS_NEXT_CONTROL_VALUE 1014
|
#define _APS_NEXT_CONTROL_VALUE 1015
|
||||||
#define _APS_NEXT_SYMED_VALUE 122
|
#define _APS_NEXT_SYMED_VALUE 122
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -569,6 +569,8 @@ INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
#ifdef NO_DONATION
|
#ifdef NO_DONATION
|
||||||
HWND hLink = GetDlgItem(hDlg, IDC_DONATIONLINK);
|
HWND hLink = GetDlgItem(hDlg, IDC_DONATIONLINK);
|
||||||
if (hLink) DestroyWindow(hLink);
|
if (hLink) DestroyWindow(hLink);
|
||||||
|
HWND hText = GetDlgItem(hDlg, IDC_DONATIONTEXT);
|
||||||
|
if (hText) DestroyWindow(hText);
|
||||||
#endif // !NO_DONATION
|
#endif // !NO_DONATION
|
||||||
|
|
||||||
LOG_TO_FILE(L"%s(%d): End of initializing the 'About' dialog", TEXT(__FUNCTION__), __LINE__);
|
LOG_TO_FILE(L"%s(%d): End of initializing the 'About' dialog", TEXT(__FUNCTION__), __LINE__);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user