diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
commit | c920fe38a19013b99f3f74e48da9724fb053c212 (patch) | |
tree | 6bb036fd3f61b85daceb26f74378eadcdd977db1 /src/T2NewDlgTmp.cpp | |
parent | 96a63139221587c6be9659c1e07eacd3a8e7f048 (diff) | |
download | t2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip |
support building from VC++ IDE, add resources
Diffstat (limited to '')
-rw-r--r-- | src/T2NewDlgTmp.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
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() |