|
@@ -89,6 +89,8 @@ BOOL COptionsGeneral::OnInitDialog()
|
|
|
|
|
|
m_pParent = (COptionsSheet *)GetParent();
|
|
|
|
|
|
+#ifndef _DEBUG
|
|
|
+
|
|
|
if (CGetSetOptions::GetIsWindowsApp())
|
|
|
{
|
|
|
m_btRunOnStartup.SetCheck(BST_CHECKED);
|
|
@@ -98,6 +100,7 @@ BOOL COptionsGeneral::OnInitDialog()
|
|
|
{
|
|
|
m_btRunOnStartup.SetCheck(CGetSetOptions::GetRunOnStartUp());
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
m_btMaximumCheck.SetCheck(CGetSetOptions::GetCheckForMaxEntries());
|
|
|
m_btExpire.SetCheck(CGetSetOptions::GetCheckForExpiredEntries());
|
|
@@ -199,10 +202,13 @@ BOOL COptionsGeneral::OnApply()
|
|
|
{
|
|
|
UpdateData();
|
|
|
|
|
|
+#ifndef _DEBUG
|
|
|
+
|
|
|
if (CGetSetOptions::GetIsWindowsApp() == FALSE)
|
|
|
{
|
|
|
CGetSetOptions::SetRunOnStartUp(m_btRunOnStartup.GetCheck());
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
CGetSetOptions::SetCheckForMaxEntries(m_btMaximumCheck.GetCheck());
|
|
|
CGetSetOptions::SetCheckForExpiredEntries(m_btExpire.GetCheck());
|