X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdialogs.cpp;h=717135a061b05fd30a6f70e9c9f97282b219ba9a;hp=8a3bf0ae0902408e287932a7b999ee90ac12965a;hb=95ce0c0260ab6fe237103bcbe2a8bdfae3c83d25;hpb=3fe1c8e09462c4b44908fec9d309aa41908889c8 diff --git a/src/dialogs.cpp b/src/dialogs.cpp index 8a3bf0a..717135a 100644 --- 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 ** -** $Id: dialogs.cpp,v 1.30 2001/02/11 21:57:08 kevin Exp $ +** $Id: dialogs.cpp,v 1.31 2001/02/14 16:37:14 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 @@ -211,7 +211,16 @@ DialogPreferences::DialogPreferences (wxWindow* pParent, const char* const pszTi pTopSizer->Add (new wxStaticText (this, -1, pszTitle), 0, wxALIGN_CENTER | wxTOP | wxLEFT | wxRIGHT, 5); pTopSizer->Add (new wxStaticLine (this, -1, wxDefaultPosition, wxSize(3,3), wxHORIZONTAL), 0, wxEXPAND | wxALL, 5); - +#if 1 + m_pCBAdvancedOptions = new wxCheckBox (this, -1, "Advanced Options", wxDefaultPosition, wxSize(100, 25), 0); + m_pCBAdvancedOptions->SetValue (bAdvancedOptions); + + m_pCBAskDeleteNewDocs = new wxCheckBox (this, -1, "Ask Save New Documents Before Closing", wxDefaultPosition, wxSize(100, 25), 0); + m_pCBAskDeleteNewDocs->SetValue (bAskDeleteNewDocs); + + pTopSizer->Add (m_pCBAdvancedOptions, 0, wxALIGN_CENTER_VERTICAL); + pTopSizer->Add (m_pCBAskDeleteNewDocs, 0, wxALIGN_CENTER_VERTICAL); +#else m_pCBAdvancedOptions = new wxCheckBox (this, -1, "", wxDefaultPosition, wxSize(100, 25), 0); m_pCBAdvancedOptions->SetValue (bAdvancedOptions); @@ -225,6 +234,7 @@ DialogPreferences::DialogPreferences (wxWindow* pParent, const char* const pszTi pGridSizer->Add (new wxStaticText (this, -1, "Ask Save New Documents Before Closing"), 0, wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL); pTopSizer->Add (pGridSizer, 1, wxALL, 10); +#endif pTopSizer->Add (new wxStaticLine (this, -1, wxDefaultPosition, wxSize(3,3), wxHORIZONTAL), 0, wxEXPAND | wxALL, 5); wxBoxSizer* pButtonSizer = new wxBoxSizer (wxHORIZONTAL);