summaryrefslogtreecommitdiff
path: root/win/Leocad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'win/Leocad.cpp')
-rw-r--r--win/Leocad.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/Leocad.cpp b/win/Leocad.cpp
index 51a2635..6dbcce1 100644
--- a/win/Leocad.cpp
+++ b/win/Leocad.cpp
@@ -162,11 +162,13 @@ BOOL CCADApp::InitInstance()
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.
+#if _MFC_VER < 0x0710
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
+#endif
SetRegistryKey(_T("BT Software"));
// LoadStdProfileSettings(); // Load standard INI file options (including MRU)