aboutsummaryrefslogtreecommitdiff
path: root/AboutDialog.cpp
blob: d180f613abe122781565e4799e64be0e0b84341b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

#include "stdafx.h"
#include "spacemonger.h"
#include "AboutDialog.h"
#include "Lang.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

CAboutDialog::CAboutDialog(CWnd* pParent)
	: CDialog(IDD_ABOUT, pParent)
{
}

BEGIN_MESSAGE_MAP(CAboutDialog, CDialog)
	//{{AFX_MSG_MAP(CAboutDialog)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

BOOL CAboutDialog::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	SetWindowText(CurLang->about_spacemonger);
	SetDlgItemText(IDC_STATIC_FREEWARE, CurLang->freeware);
	SetDlgItemText(IDC_STATIC_WARRANTY, CurLang->warranty);
	SetDlgItemText(IDC_STATIC_EMAIL, CurLang->email);
	SetDlgItemText(IDOK, CurLang->ok);

	return TRUE;
}