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