From 49055c86feda30d3d7e4f6d5c8738c2aef5b68d9 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 27 Dec 2005 22:18:14 +0000 Subject: Removed code for the old pieces list. git-svn-id: http://svn.leocad.org/trunk@449 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/Prefpage.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'win/Prefpage.cpp') diff --git a/win/Prefpage.cpp b/win/Prefpage.cpp index cb1e21c..9d22e67 100644 --- a/win/Prefpage.cpp +++ b/win/Prefpage.cpp @@ -30,7 +30,6 @@ CPreferencesGeneral::CPreferencesGeneral() : CPropertyPage(CPreferencesGeneral:: m_bSubparts = FALSE; m_nSaveTime = 0; m_bNumbers = FALSE; - m_bGroup = FALSE; m_strFolder = _T(""); m_bAutoSave = FALSE; m_strUser = _T(""); @@ -51,7 +50,6 @@ void CPreferencesGeneral::DoDataExchange(CDataExchange* pDX) DDX_Text(pDX, IDC_GENDLG_SAVETIME, m_nSaveTime); DDV_MinMaxInt(pDX, m_nSaveTime, 1, 60); DDX_Check(pDX, IDC_GENDLG_NUMBERS, m_bNumbers); - DDX_Check(pDX, IDC_GENDLG_GROUP, m_bGroup); DDX_Text(pDX, IDC_GENDLG_FOLDER, m_strFolder); DDX_Check(pDX, IDC_GENDLG_AUTOSAVE, m_bAutoSave); DDX_Text(pDX, IDC_GENDLG_USER, m_strUser); @@ -87,9 +85,8 @@ void CPreferencesGeneral::SetOptions(int nSaveInterval, int nMouse, const char* m_strUser = strUser; m_Updates = AfxGetApp()->GetProfileInt("Settings", "CheckUpdates", 1); - int i = AfxGetApp()->GetProfileInt("Settings", "Piecebar Options", PIECEBAR_GROUP); + int i = AfxGetApp()->GetProfileInt("Settings", "Piecebar Options", 0); m_bSubparts = (i & PIECEBAR_SUBPARTS) != 0; - m_bGroup = (i & PIECEBAR_GROUP) != 0; m_bNumbers = (i & PIECEBAR_PARTNUMBERS) != 0; } @@ -103,7 +100,6 @@ void CPreferencesGeneral::GetOptions(int* nSaveTime, int* nMouse, char* strFolde int i = 0; if (m_bSubparts) i |= PIECEBAR_SUBPARTS; - if (m_bGroup) i |= PIECEBAR_GROUP; if (m_bNumbers) i |= PIECEBAR_PARTNUMBERS; AfxGetApp()->WriteProfileInt("Settings", "Piecebar Options", i); -- cgit v1.2.3