projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r572: no message
[ctsim.git]
/
src
/
dialogs.cpp
diff --git
a/src/dialogs.cpp
b/src/dialogs.cpp
index 8e253387987cc957d5461396fe1ff69a6b69dd5f..21b6f197ba2ca3936371e1dc3e4af6c7e24a8955 100644
(file)
--- a/
src/dialogs.cpp
+++ b/
src/dialogs.cpp
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: dialogs.cpp,v 1.4
0 2001/02/22 11:05:38
kevin Exp $
+** $Id: dialogs.cpp,v 1.4
1 2001/02/22 15:00:20
kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
@@
-217,7
+217,7
@@
DialogGetComparisonImage::getMakeDifferenceImage()
/////////////////////////////////////////////////////////////////////
DialogPreferences::DialogPreferences (wxWindow* pParent, const char* const pszTitle,
/////////////////////////////////////////////////////////////////////
DialogPreferences::DialogPreferences (wxWindow* pParent, const char* const pszTitle,
- bool bAdvancedOptions, bool bAskDeleteNewDocs, bool bVerboseLogging, bool bStartupTips)
+ bool bAdvancedOptions, bool bAskDeleteNewDocs, bool bVerboseLogging, bool bStartupTips
, bool bUseBackgroundTasks
)
: wxDialog (pParent, -1, pszTitle, wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxCAPTION)
{
wxBoxSizer* pTopSizer = new wxBoxSizer (wxVERTICAL);
: wxDialog (pParent, -1, pszTitle, wxDefaultPosition, wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxCAPTION)
{
wxBoxSizer* pTopSizer = new wxBoxSizer (wxVERTICAL);
@@
-242,6
+242,10
@@
DialogPreferences::DialogPreferences (wxWindow* pParent, const char* const pszTi
m_pCBStartupTips->SetValue (bStartupTips);
pTopSizer->Add (m_pCBStartupTips, 0, wxALIGN_CENTER_VERTICAL);
m_pCBStartupTips->SetValue (bStartupTips);
pTopSizer->Add (m_pCBStartupTips, 0, wxALIGN_CENTER_VERTICAL);
+ m_pCBUseBackgroundTasks = new wxCheckBox (this, -1, "Put Tasks in Background", wxDefaultPosition, wxSize(250, 25), 0);
+ m_pCBUseBackgroundTasks->SetValue (bStartupTips);
+ pTopSizer->Add (m_pCBUseBackgroundTasks, 0, wxALIGN_CENTER_VERTICAL);
+
pTopSizer->Add (new wxStaticLine (this, -1, wxDefaultPosition, wxSize(3,3), wxHORIZONTAL), 0, wxEXPAND | wxALL, 5);
wxBoxSizer* pButtonSizer = new wxBoxSizer (wxHORIZONTAL);
pTopSizer->Add (new wxStaticLine (this, -1, wxDefaultPosition, wxSize(3,3), wxHORIZONTAL), 0, wxEXPAND | wxALL, 5);
wxBoxSizer* pButtonSizer = new wxBoxSizer (wxHORIZONTAL);
@@
-289,6
+293,12
@@
DialogPreferences::getStartupTips ()
return static_cast<bool>(m_pCBStartupTips->GetValue());
}
return static_cast<bool>(m_pCBStartupTips->GetValue());
}
+bool
+DialogPreferences::getUseBackgroundTasks ()
+{
+ return static_cast<bool>(m_pCBUseBackgroundTasks->GetValue());
+}
+
/////////////////////////////////////////////////////////////////////
// CLASS DiaglogGetMinMax Implementation
/////////////////////////////////////////////////////////////////////
// CLASS DiaglogGetMinMax Implementation