From c920fe38a19013b99f3f74e48da9724fb053c212 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 9 Jul 2023 20:59:16 +0100 Subject: support building from VC++ IDE, add resources --- src/T2NewDlgTmp.cpp | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/T2NewDlgTmp.cpp') diff --git a/src/T2NewDlgTmp.cpp b/src/T2NewDlgTmp.cpp index af5b407..8088b86 100644 --- a/src/T2NewDlgTmp.cpp +++ b/src/T2NewDlgTmp.cpp @@ -1,3 +1,4 @@ +#include "StdAfx.h" #include "T2NewDlgTmp.h" #ifdef _DEBUG @@ -6,17 +7,23 @@ static char THIS_FILE[] = __FILE__; #endif -T2NewDlgTmp::T2NewDlgTmp(CWnd *pParentWnd) - : CDialog(166, pParentWnd) +T2NewDlgTmp::T2NewDlgTmp(CWnd *pParent) + : CDialog(IDD, pParent) { + //{{AFX_DATA_INIT(T2NewDlgTmp) + //}}AFX_DATA_INIT } /*virtual*/ void T2NewDlgTmp::DoDataExchange(CDataExchange *pDX) { CWnd::DoDataExchange(pDX); - DDX_Control(pDX, 1, mOKButton); - DDX_Control(pDX, 2, mCancelButton); - DDX_Control(pDX, 1018, mStatic); + //{{AFX_DATA_MAP(T2NewDlgTmp) + DDX_Control(pDX, IDOK, mOKButton); + DDX_Control(pDX, IDCANCEL, mCancelButton); + DDX_Control(pDX, IDC_NEW_DLG_WORLDS, mStatic); + //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(T2NewDlgTmp, CDialog) + //{{AFX_MSG_MAP(T2NewDlgTmp) + //}}AFX_MSG_MAP END_MESSAGE_MAP() -- cgit v1.2.3