diff --git a/win/LeoCAD.rc b/win/LeoCAD.rc index 7fcd7e44..62004a53 100644 --- a/win/LeoCAD.rc +++ b/win/LeoCAD.rc @@ -72,7 +72,6 @@ END // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDR_MAINFRAME ICON "res\\idr_main.ico" -IDR_PARTFRAME ICON "res\\idr_part.ico" ///////////////////////////////////////////////////////////////////////////// // diff --git a/win/Leocad.cpp b/win/Leocad.cpp index 6561983a..9f4ba59d 100644 --- a/win/Leocad.cpp +++ b/win/Leocad.cpp @@ -154,18 +154,7 @@ CCADApp theApp; BOOL CCADApp::InitInstance() { - // Standard initialization - // 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 < 0x0710 -#ifdef _AFXDLL - Enable3dControls(); // Call this when using MFC in a shared DLL -#else - Enable3dControlsStatic(); // Call this when linking to MFC statically -#endif -#endif + CWinAppEx::InitInstance(); SetRegistryKey(_T("BT Software")); LoadStdProfileSettings(); @@ -203,7 +192,7 @@ BOOL CCADApp::InitInstance() AddDocTemplate(pDocTemplate); EnableShellOpen(); - RegisterShellFileTypes(TRUE); + RegisterShellFileTypes(); UINT cmdshow = m_nCmdShow; m_nCmdShow = SW_HIDE; diff --git a/win/res/idr_part.ico b/win/res/idr_part.ico deleted file mode 100644 index 688225cc..00000000 Binary files a/win/res/idr_part.ico and /dev/null differ