From: Leon W. <moo...@us...> - 2005-02-04 13:58:37
|
Update of /cvsroot/anyedit/AnyEditv2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23988 Modified Files: MainFrm.cpp Log Message: - Removed Open Last Workspace code Index: MainFrm.cpp =================================================================== RCS file: /cvsroot/anyedit/AnyEditv2/MainFrm.cpp,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** MainFrm.cpp 29 Jan 2005 17:55:12 -0000 1.75 --- MainFrm.cpp 4 Feb 2005 13:58:26 -0000 1.76 *************** *** 312,320 **** m_wndToolbarBookmarks.EnableCustomizeButton (TRUE,ID_VIEW_CUSTOMIZE, _T("Customize ...")); ! //loadregistry settings LoadSettingsFromRegistry(); ShowControlBar (&m_wndFullScreen, FALSE, FALSE); theApp.GetTagThread()->SetNotifyWnd(GetSafeHwnd()); --- 312,322 ---- m_wndToolbarBookmarks.EnableCustomizeButton (TRUE,ID_VIEW_CUSTOMIZE, _T("Customize ...")); ! // Load Registry Settings LoadSettingsFromRegistry(); + // Show the stuff ShowControlBar (&m_wndFullScreen, FALSE, FALSE); + // Tell the tag we want to be notified theApp.GetTagThread()->SetNotifyWnd(GetSafeHwnd()); *************** *** 755,763 **** theApp.m_bTabFlatBorders = !theApp.m_bTabFlatBorders; OnViewLookTab(); - - if (theApp.GetConfigFile()->GetAutoOpenLastWorkspace()) - { - PostMessage(WM_COMMAND, ID_FILE_RECENTWORKSPACES_WS1, NULL); - } } --- 757,760 ---- *************** *** 768,771 **** --- 765,769 ---- theApp.GetTagThread()->SetNotifyWnd(NULL); RemoveTagMessages(); + CBCGMDIFrameWnd::OnDestroy(); } *************** *** 1313,1317 **** m_bInCmdMsg = true; - if (CBCGMDIFrameWnd::OnCmdMsg(nID, nCode, pExtra, pHandlerInfo)) { --- 1311,1314 ---- |