Skip to content

Commit

Permalink
More code cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Sep 25, 2010
1 parent 98bfbc3 commit b0dd824
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions TextView.cpp
Expand Up @@ -120,15 +120,6 @@ BEGIN_MESSAGE_MAP(CTextView, CEditView)
ON_COMMAND(ID_FILE_PRINT_PREVIEW, CEditView::OnFilePrintPreview)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTextView drawing

void CTextView::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
ASSERT_VALID(pDoc);
}

/////////////////////////////////////////////////////////////////////////////
// CTextView diagnostics

Expand Down
1 change: 0 additions & 1 deletion TextView.h
Expand Up @@ -57,7 +57,6 @@ class CTextView : public CEditView
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
Expand Down

0 comments on commit b0dd824

Please sign in to comment.