mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed old icon being displayed in Explorer.
This commit is contained in:
parent
4143fd0b82
commit
f495592d12
3 changed files with 2 additions and 14 deletions
|
@ -72,7 +72,6 @@ END
|
||||||
// Icon with lowest ID value placed first to ensure application icon
|
// Icon with lowest ID value placed first to ensure application icon
|
||||||
// remains consistent on all systems.
|
// remains consistent on all systems.
|
||||||
IDR_MAINFRAME ICON "res\\idr_main.ico"
|
IDR_MAINFRAME ICON "res\\idr_main.ico"
|
||||||
IDR_PARTFRAME ICON "res\\idr_part.ico"
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
|
|
@ -154,18 +154,7 @@ CCADApp theApp;
|
||||||
|
|
||||||
BOOL CCADApp::InitInstance()
|
BOOL CCADApp::InitInstance()
|
||||||
{
|
{
|
||||||
// Standard initialization
|
CWinAppEx::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 < 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"));
|
SetRegistryKey(_T("BT Software"));
|
||||||
LoadStdProfileSettings();
|
LoadStdProfileSettings();
|
||||||
|
@ -203,7 +192,7 @@ BOOL CCADApp::InitInstance()
|
||||||
AddDocTemplate(pDocTemplate);
|
AddDocTemplate(pDocTemplate);
|
||||||
|
|
||||||
EnableShellOpen();
|
EnableShellOpen();
|
||||||
RegisterShellFileTypes(TRUE);
|
RegisterShellFileTypes();
|
||||||
|
|
||||||
UINT cmdshow = m_nCmdShow;
|
UINT cmdshow = m_nCmdShow;
|
||||||
m_nCmdShow = SW_HIDE;
|
m_nCmdShow = SW_HIDE;
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in a new issue