Resolve "Toggle Free Look with Hotkey"
[ryzomcore.git] / ryzom / client / src / bug_report / EmailDlg.cpp
blob331c569e21aa0bba4940e0319d17ec5e2ae7d1c8
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 // EmailDlg.cpp : implementation file
20 #include "stdafx.h"
21 #include "bug_report.h"
22 #include "EmailDlg.h"
24 #ifdef _DEBUG
25 #define new DEBUG_NEW
26 #undef THIS_FILE
27 static char THIS_FILE[] = __FILE__;
28 #endif
30 /////////////////////////////////////////////////////////////////////////////
31 // CEmailDlg dialog
34 CEmailDlg::CEmailDlg(CWnd* pParent /*=NULL*/)
35 : CDialog(CEmailDlg::IDD, pParent)
37 //{{AFX_DATA_INIT(CEmailDlg)
38 m_email = _T("");
39 //}}AFX_DATA_INIT
43 void CEmailDlg::DoDataExchange(CDataExchange* pDX)
45 CDialog::DoDataExchange(pDX);
46 //{{AFX_DATA_MAP(CEmailDlg)
47 DDX_Text(pDX, IDC_EMAIL, m_email);
48 //}}AFX_DATA_MAP
52 BEGIN_MESSAGE_MAP(CEmailDlg, CDialog)
53 //{{AFX_MSG_MAP(CEmailDlg)
54 //}}AFX_MSG_MAP
55 END_MESSAGE_MAP()
57 /////////////////////////////////////////////////////////////////////////////
58 // CEmailDlg message handlers
60 BOOL CEmailDlg::OnInitDialog()
62 CDialog::OnInitDialog();
64 CWnd *wnd = GetDlgItem (IDC_EMAIL);
65 if (wnd != NULL)
66 wnd->SetFocus();
68 return TRUE; // return TRUE unless you set the focus to a control
69 // EXCEPTION: OCX Property Pages should return FALSE