From 95b56a6f919ce61a5cbc73d0c3f80aafaa0d7177 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Fri, 7 Dec 2007 15:51:32 +0000 Subject: [PATCH] code was not necessary anymore git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@177 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/win32/MainWnd.cpp | 17 ----------------- src/win32/MainWnd.h | 5 ----- 2 files changed, 22 deletions(-) diff --git a/src/win32/MainWnd.cpp b/src/win32/MainWnd.cpp index f9db5f1c..10e08a6d 100644 --- a/src/win32/MainWnd.cpp +++ b/src/win32/MainWnd.cpp @@ -361,7 +361,6 @@ BEGIN_MESSAGE_MAP(MainWnd, CWnd) ON_WM_MOUSEMOVE() ON_WM_INITMENU() ON_WM_ACTIVATE() - ON_WM_ACTIVATEAPP() ON_WM_DROPFILES() ON_COMMAND(ID_FILE_SAVEGAME_OLDESTSLOT, OnFileSavegameOldestslot) ON_UPDATE_COMMAND_UI(ID_FILE_SAVEGAME_OLDESTSLOT, OnUpdateFileSavegameOldestslot) @@ -1280,22 +1279,6 @@ void MainWnd::OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized) } } -#if _MSC_VER <= 1200 -void MainWnd::OnActivateApp(BOOL bActive, HTASK hTask) -#else -void MainWnd::OnActivateApp(BOOL bActive, DWORD hTask) -#endif -{ - CWnd::OnActivateApp(bActive, hTask); - - if(theApp.tripleBuffering && theApp.videoOption > VIDEO_4X) { - if(bActive) { - if(theApp.display) - theApp.display->clear(); - } - } -} - void MainWnd::OnDropFiles(HDROP hDropInfo) { char szFile[1024]; diff --git a/src/win32/MainWnd.h b/src/win32/MainWnd.h index 3cf22f43..f8e12357 100644 --- a/src/win32/MainWnd.h +++ b/src/win32/MainWnd.h @@ -400,11 +400,6 @@ class MainWnd : public CWnd afx_msg void OnMouseMove(UINT nFlags, CPoint point); afx_msg void OnInitMenu(CMenu* pMenu); afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized); -#if _MSC_VER <= 1200 - afx_msg void OnActivateApp(BOOL bActive, HTASK hTask); -#else - afx_msg void OnActivateApp(BOOL bActive, DWORD hTask); -#endif afx_msg void OnDropFiles(HDROP hDropInfo); afx_msg void OnFileSavegameOldestslot(); afx_msg void OnUpdateFileSavegameOldestslot(CCmdUI* pCmdUI);