// diagnvw.cpp : implementation of the CDiagnoView class
//

#include "stdafx.h"
#include "diagno.h"

#include "diagndoc.h"
#include "diagnvw.h"

#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDiagnoView

IMPLEMENT_DYNCREATE(CDiagnoView, CView)

BEGIN_MESSAGE_MAP(CDiagnoView, CView)
	//{{AFX_MSG_MAP(CDiagnoView)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDiagnoView construction/destruction

CDiagnoView::CDiagnoView()
{
	// TODO: add construction code here
}

CDiagnoView::~CDiagnoView()
{
}

/////////////////////////////////////////////////////////////////////////////
// CDiagnoView drawing

void CDiagnoView::OnDraw(CDC* pDC)
{
	CDiagnoDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);

	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CDiagnoView diagnostics

#ifdef _DEBUG
void CDiagnoView::AssertValid() const
{
	CView::AssertValid();
}

void CDiagnoView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CDiagnoDoc* CDiagnoView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CDiagnoDoc)));
	return (CDiagnoDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CDiagnoView message handlers
