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);