code was not necessary anymore

This commit is contained in:
spacy51 2007-12-07 15:51:32 +00:00
parent 0fac9e0fa3
commit 9a282c5d90
2 changed files with 0 additions and 22 deletions

View File

@ -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];

View File

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