/**
    File        : CSettings.h
    Description : Select settings
    Author      : Raymond Marsh
    Created     : 08/01/2009
    Copyright 2009, 2010 Raymond Marsh

    This program is distributed under the terms of the GNU General Public License.
    To view a copy of the license see the file 'copying.txt'

    This file is part of the Ace Personal Finance Assistant Suite.

    Ace Personal Finance Assistant is free software: you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software Foundation, either
    version 3 of the License, or (at your option) any later version.

    Ace Personal Finance Assistant is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
    without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with Ace Personal Finance Assistant.
    If not, see <http://www.gnu.org/licenses/>.
**/

#ifndef CSETTINGS_H
#define CSETTINGS_H

//(*Headers(CSettings)
#include <wx/notebook.h>
#include <wx/stattext.h>
#include <wx/checkbox.h>
#include <wx/panel.h>
#include <wx/dialog.h>
#include <wx/clrpicker.h>
//*)
#include "Settings.h"

class CSettings: public wxDialog
{
	public:

		CSettings(wxWindow* parent);
		virtual ~CSettings();

		//(*Declarations(CSettings)
		wxNotebook* Notebook1;
		wxStaticText* StaticText2;
		wxCheckBox* CheckBox2;
		wxPanel* Panel1;
		wxStaticText* StaticText1;
		wxColourPickerCtrl* ColourPickerCtrl1;
		wxPanel* Panel3;
		wxCheckBox* CheckBox1;
		wxColourPickerCtrl* ColourPickerCtrl2;
		wxPanel* Panel2;
		//*)

	protected:

		//(*Identifiers(CSettings)
		//*)

	private:

		//(*Handlers(CSettings)
		void OnColourPickerCtrl1ColourChanged(wxColourPickerEvent& event);
		void OnColourPickerCtrl2ColourChanged(wxColourPickerEvent& event);
		void OnCheckBox1Click(wxCommandEvent& event);
        void OnOK(wxCommandEvent &event);
        void OnApply(wxCommandEvent &event);
		//*)

        wxWindow*         m_pParent;
        bool              m_IsChanged;
        ace::COptions     m_TempOptions;

		DECLARE_EVENT_TABLE()
};

#endif
