DlgRenameControls.cpp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. // DlgRenameControls.cpp : implementation file
  13. //
  14. #include "stdafx.h"
  15. #ifdef _DEBUG
  16. #undef new
  17. #define new DEBUG_NEW
  18. #undef THIS_FILE
  19. static char THIS_FILE[] = __FILE__;
  20. #endif
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CDlgRenameControls dialog
  23. CDlgRenameControls::CDlgRenameControls(CWnd* pParent /*=NULL*/)
  24. : CDialog(CDlgRenameControls::IDD, pParent)
  25. {
  26. //{{AFX_DATA_INIT(CDlgRenameControls)
  27. m_strName = _T("");
  28. //}}AFX_DATA_INIT
  29. }
  30. void CDlgRenameControls::DoDataExchange(CDataExchange* pDX)
  31. {
  32. CDialog::DoDataExchange(pDX);
  33. //{{AFX_DATA_MAP(CDlgRenameControls)
  34. DDX_Text(pDX, IDC_EDIT_CONTROLS_NAME, m_strName);
  35. //}}AFX_DATA_MAP
  36. }
  37. BEGIN_MESSAGE_MAP(CDlgRenameControls, CDialog)
  38. //{{AFX_MSG_MAP(CDlgRenameControls)
  39. // NOTE: the ClassWizard will add message map macros here
  40. //}}AFX_MSG_MAP
  41. END_MESSAGE_MAP()
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CDlgRenameControls message handlers