summaryrefslogtreecommitdiff
path: root/Bus/IvyProbe/IvyProbe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Bus/IvyProbe/IvyProbe.cpp')
-rw-r--r--Bus/IvyProbe/IvyProbe.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bus/IvyProbe/IvyProbe.cpp b/Bus/IvyProbe/IvyProbe.cpp
index f201abc..2365dd4 100644
--- a/Bus/IvyProbe/IvyProbe.cpp
+++ b/Bus/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