OSDN Git Service

crystaledit/Sample: Fix warning C4996: 'CWinApp::Enable3dControls': CWinApp::Enable3d...
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Fri, 1 May 2020 11:04:59 +0000 (20:04 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Fri, 1 May 2020 11:04:59 +0000 (20:04 +0900)
Externals/crystaledit/Sample/Sample.cpp

index 4c9d249..e017240 100755 (executable)
@@ -63,12 +63,6 @@ BOOL CSampleApp::InitInstance()
                return false;
        }
 
-#ifdef _AFXDLL
-       Enable3dControls();                     // Call this when using MFC in a shared DLL
-#else
-       Enable3dControlsStatic();       // Call this when linking to MFC statically
-#endif
-
        // Change the registry key under which our settings are stored.
        // You should modify this string to be something appropriate
        // such as the name of your company or organization.