ChildFrm.cpp 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. // ChildFrm.cpp : implementation of the CChildFrame class
  19. //
  20. #include "stdafx.h"
  21. #include "Radiant.h"
  22. #include "ChildFrm.h"
  23. #ifdef _DEBUG
  24. #define new DEBUG_NEW
  25. #undef THIS_FILE
  26. static char THIS_FILE[] = __FILE__;
  27. #endif
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CChildFrame
  30. IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
  31. BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
  32. //{{AFX_MSG_MAP(CChildFrame)
  33. // NOTE - the ClassWizard will add and remove mapping macros here.
  34. // DO NOT EDIT what you see in these blocks of generated code !
  35. //}}AFX_MSG_MAP
  36. END_MESSAGE_MAP()
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CChildFrame construction/destruction
  39. CChildFrame::CChildFrame()
  40. {
  41. // TODO: add member initialization code here
  42. }
  43. CChildFrame::~CChildFrame()
  44. {
  45. }
  46. BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
  47. {
  48. // TODO: Modify the Window class or styles here by modifying
  49. // the CREATESTRUCT cs
  50. return CMDIChildWnd::PreCreateWindow(cs);
  51. }
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CChildFrame diagnostics
  54. #ifdef _DEBUG
  55. void CChildFrame::AssertValid() const
  56. {
  57. CMDIChildWnd::AssertValid();
  58. }
  59. void CChildFrame::Dump(CDumpContext& dc) const
  60. {
  61. CMDIChildWnd::Dump(dc);
  62. }
  63. #endif //_DEBUG
  64. /////////////////////////////////////////////////////////////////////////////
  65. // CChildFrame message handlers