summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IvyProbe/IvyProbe.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/IvyProbe/IvyProbe.cpp b/IvyProbe/IvyProbe.cpp
index f201abc..2365dd4 100644
--- a/IvyProbe/IvyProbe.cpp
+++ b/IvyProbe/IvyProbe.cpp
@@ -42,6 +42,9 @@ CIvyProbeApp theApp;
BOOL CIvyProbeApp::InitInstance()
{
+ InitCommonControls();
+ CWinApp::InitInstance();
+
// CG: The following block was added by the Windows Sockets component.
{
if (!AfxSocketInit())
@@ -60,7 +63,6 @@ BOOL CIvyProbeApp::InitInstance()
#ifndef UNDER_CE
#ifdef _AFXDLL
//Enable3dControls(); // Call this when using MFC in a shared DLL
- InitCommonControls();
#else
//Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif