// regview.cpp : implementation of the CRegView class
//

#include "stdafx.h"
#include "reg.h"
#include "regview.h"

#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRegView

IMPLEMENT_DYNCREATE(CRegView, CView)

BEGIN_MESSAGE_MAP(CRegView, CView)
	//{{AFX_MSG_MAP(CRegView)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CRegView construction/destruction

CRegView::CRegView()
{
	// TODO: add construction code here

}

CRegView::~CRegView()
{
}

/////////////////////////////////////////////////////////////////////////////
// CRegView drawing

void CRegView::OnDraw(CDC* pDC)
{
	CRegDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);

	// TODO: add draw code for native data here
}

/////////////////////////////////////////////////////////////////////////////
// CRegView diagnostics

#ifdef _DEBUG
void CRegView::AssertValid() const
{
	CView::AssertValid();
}

void CRegView::Dump(CDumpContext& dc) const
{
	CView::Dump(dc);
}

CRegDoc* CRegView::GetDocument() // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CRegDoc)));
	return (CRegDoc*)m_pDocument;
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CRegView message handlers
