diff options
Diffstat (limited to 'src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp')
| -rw-r--r-- | src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp | 4 |
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); |
