OSDN Git Service

Remove VC6 support
authorsdottaka <sdottaka@users.sourceforge.net>
Sun, 22 Feb 2015 02:10:33 +0000 (11:10 +0900)
committersdottaka <sdottaka@users.sourceforge.net>
Sun, 22 Feb 2015 02:10:33 +0000 (11:10 +0900)
--HG--
branch : stable

Src/Merge.cpp
Src/StdAfx.h

index 014f377..2c3cc30 100644 (file)
@@ -281,15 +281,6 @@ BOOL CMergeApp::InitInstance()
        COleMessageFilter* pOldFilter = AfxOleGetMessageFilter();
        pOldFilter->Revoke();
 
-       // Only needed by VC6
-#if _MSC_VER < 1300
-#ifdef _AFXDLL
-       Enable3dControls();                     // Call this when using MFC in a shared DLL
-#else
-       Enable3dControlsStatic();       // Call this when linking to MFC statically
-#endif
-#endif
-
        // Load registry keys from WinMerge.reg if existing WinMerge.reg
        env_LoadRegistryFromFile(env_GetProgPath() + _T("\\WinMerge.reg"));
 
index d750ac0..5310129 100644 (file)
 
 #define VC_EXTRALEAN           // Exclude rarely-used stuff from Windows headers
 
-// Disable VC6's "identifier was truncated..." warning. It is meaningless.
-#if _MSC_VER == 1200
-       #pragma warning(disable: 4786)
-#endif
 // Common MFC headers
 
 #include <afxwin.h>         // MFC core and standard components