summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2003-03-15 10:21:41 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2003-03-15 10:21:41 +0000
commit25199d28cba480b4649d6e1a8dea3204094ea51f (patch)
tree1ed58b1cd969a0288bfc74ee2954b4c5af96c0ff /src
parenta8f845cd8a0287e0f2827504a709035544521454 (diff)
downloadcppunit-25199d28cba480b4649d6e1a8dea3204094ea51f.tar.gz
Src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.
src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp: * examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp: * examples/msvc6/HostApp/HostApp.cpp: * src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp: fixed compatibility issues with vc7 MFC.
Diffstat (limited to 'src')
-rw-r--r--src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp b/src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp
index 07378c6..1ba65a8 100644
--- a/src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp
+++ b/src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp
@@ -63,7 +63,11 @@ void cdxCDynamicWndEx::OnInitialized()
if(!m_strAutoPos.IsEmpty())
{
+#if _MSC_VER < 1300 // vc6
if(!RestoreWindowPosition(_makeFullProfile(M_lpszAutoPosProfileSection,m_strAutoPos),rflg_all))
+#else // vc7
+ if(!RestoreWindowPosition(_makeFullProfile(M_lpszAutoPosProfileSection,m_strAutoPos),"",rflg_all))
+#endif
{
Window()->CenterWindow();
StretchWindow(10);