1 /* $Id: TalkWindow.cpp,v 5.0 2001/04/07 20:00:59 dik Exp $
2  *
3  * XPilot, a multiplayer gravity war game.  Copyright (C) 1991-2001 by
4  *
5  *      Bj�rn Stabell        <bjoern@xpilot.org>
6  *      Ken Ronny Schouten   <ken@xpilot.org>
7  *      Bert Gijsbers        <bert@xpilot.org>
8  *      Dick Balaska         <dick@xpilot.org>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23  */
24 
25 // TalkWindow.cpp : implementation file
26 //
27 
28 #include "stdafx.h"
29 #include "XPilotNT.h"
30 #include "TalkWindow.h"
31 
32 #ifdef _DEBUG
33 #define new DEBUG_NEW
34 #undef THIS_FILE
35 static char THIS_FILE[] = __FILE__;
36 #endif
37 
38 /////////////////////////////////////////////////////////////////////////////
39 // CTalkWindow dialog
40 
41 
CTalkWindow(CWnd * pParent)42 CTalkWindow::CTalkWindow(CWnd* pParent /*=NULL*/)
43 	: CDialog(CTalkWindow::IDD, pParent)
44 {
45 	//{{AFX_DATA_INIT(CTalkWindow)
46 	m_text = _T("");
47 	//}}AFX_DATA_INIT
48 }
49 
50 
DoDataExchange(CDataExchange * pDX)51 void CTalkWindow::DoDataExchange(CDataExchange* pDX)
52 {
53 	CDialog::DoDataExchange(pDX);
54 	//{{AFX_DATA_MAP(CTalkWindow)
55 	DDX_Text(pDX, IDC_EDIT1, m_text);
56 	//}}AFX_DATA_MAP
57 }
58 
59 
60 BEGIN_MESSAGE_MAP(CTalkWindow, CDialog)
61 	//{{AFX_MSG_MAP(CTalkWindow)
62 		// NOTE: the ClassWizard will add message map macros here
63 	//}}AFX_MSG_MAP
64 END_MESSAGE_MAP()
65 
66 /////////////////////////////////////////////////////////////////////////////
67 // CTalkWindow message handlers
68