summaryrefslogtreecommitdiff
path: root/win/Prefpage.cpp
diff options
context:
space:
mode:
authorleo2005-12-27 22:18:14 +0000
committerleo2005-12-27 22:18:14 +0000
commit49055c86feda30d3d7e4f6d5c8738c2aef5b68d9 (patch)
tree1e2d8e3b4390ab58408b31cfb9f019ed583681bd /win/Prefpage.cpp
parentfcd555cd2f169b2ebf04f09c3977094d06aa7cb0 (diff)
Removed code for the old pieces list.
git-svn-id: http://svn.leocad.org/trunk@449 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Prefpage.cpp')
-rw-r--r--win/Prefpage.cpp6
1 files changed, 1 insertions, 5 deletions
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);