Browse Source

fix warning

Bill Hoffman 23 years ago
parent
commit
e57d209bdc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/MFCDialog/CMakeSetup.cpp

+ 2 - 2
Source/MFCDialog/CMakeSetup.cpp

@@ -50,13 +50,13 @@ BOOL CMakeSetup::InitInstance()
   // If you are not using these features and wish to reduce the size
   //  of your final executable, you should remove from the following
   //  the specific initialization routines you do not need.
-
+#if _MFC_VER <= 0x421
 #ifdef _AFXDLL
   Enable3dControls();			// Call this when using MFC in a shared DLL
 #else
   Enable3dControlsStatic();	// Call this when linking to MFC statically
 #endif
-
+#endif
   CMakeCommandLineInfo cmdInfo;
   ParseCommandLine(cmdInfo);