From 323c942d9c7fbe246b76b39c1430f287e2bd81fa Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 24 Jan 2006 04:54:59 +0000 Subject: Removed unused functions. git-svn-id: http://svn.leocad.org/trunk@461 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/Pieceprv.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'win/Pieceprv.cpp') diff --git a/win/Pieceprv.cpp b/win/Pieceprv.cpp index c07cea9..860cd38 100644 --- a/win/Pieceprv.cpp +++ b/win/Pieceprv.cpp @@ -31,9 +31,6 @@ CPiecePreview::~CPiecePreview() BEGIN_MESSAGE_MAP(CPiecePreview, CWnd) //{{AFX_MSG_MAP(CPiecePreview) - ON_WM_ERASEBKGND() - ON_WM_PAINT() - ON_WM_SIZE() ON_WM_CREATE() ON_WM_DESTROY() //}}AFX_MSG_MAP @@ -43,25 +40,6 @@ END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CPiecePreview message handlers -BOOL CPiecePreview::OnEraseBkgnd(CDC* pDC) -{ - return TRUE; -} - -void CPiecePreview::OnPaint() -{ - if (!IsWindowEnabled() || (m_Preview == NULL)) - return; - -// m_Preview->OnDraw(); -} - -void CPiecePreview::OnSize(UINT nType, int cx, int cy) -{ - m_Preview->OnSize(cx, cy); - CWnd::OnSize(nType, cx, cy); -} - int CPiecePreview::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CWnd::OnCreate(lpCreateStruct) == -1) -- cgit v1.2.3