code was not necessary anymore
This commit is contained in:
parent
0fac9e0fa3
commit
9a282c5d90
|
@ -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];
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue