//---------------------------------------------------------------------------
//
// Name:        Dlg2.h
// Author:      Standart
// Created:     13/04/07 00:28:45
// Description: Dlg2 class declaration
//
//---------------------------------------------------------------------------

#ifndef __DLG2_h__
#define __DLG2_h__

#ifdef __BORLANDC__
	#pragma hdrstop
#endif

#ifndef WX_PRECOMP
	#include <wx/wx.h>
	#include <wx/dialog.h>
#else
	#include <wx/wxprec.h>
#endif

//Do not add custom headers between 
//Header Include Start and Header Include End.
//wxDev-C++ designer will remove them. Add custom headers after the block.
////Header Include Start
#include <wx/button.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
////Header Include End

////Dialog Style Start
#undef Dlg2_STYLE
#define Dlg2_STYLE wxCAPTION | wxSYSTEM_MENU | wxDIALOG_NO_PARENT | wxMINIMIZE_BOX | wxCLOSE_BOX
////Dialog Style End

class Dlg2 : public wxDialog
{
	private:
		DECLARE_EVENT_TABLE();
		
	public:
		Dlg2(wxWindow *parent, wxWindowID id = 1, const wxString &title = wxT("dialog_texte"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = Dlg2_STYLE);
		virtual ~Dlg2();
		void Dlg2Activate(wxActivateEvent& event);
		void WxButton2Click(wxCommandEvent& event);
		wxString text01,text02,text03,text04;
		bool valid2;
		void WxButton1Click(wxCommandEvent& event);
	
	private:
		//Do not add custom control declarations between 
                //GUI Control Declaration Start and GUI Control Declaration End.
		//wxDev-C++ will remove them. Add custom code after the block.
		////GUI Control Declaration Start
		wxButton *WxButton2;
		wxButton *WxButton1;
		wxTextCtrl *WxEdit4;
		wxStaticText *WxStaticText4;
		wxTextCtrl *WxEdit3;
		wxTextCtrl *WxEdit2;
		wxStaticText *WxStaticText3;
		wxStaticText *WxStaticText2;
		wxStaticText *WxStaticText1;
		wxTextCtrl *WxEdit1;
		////GUI Control Declaration End
		
	private:
		//Note: if you receive any error with these enum IDs, then you need to
		//change your old form code that are based on the #define control IDs.
		//#defines may replace a numeric value for the enum names.
		//Try copy and pasting the below block in your old form header files.
		enum
		{
			////GUI Enum Control ID Start
			ID_WXBUTTON2 = 1011,
			ID_WXBUTTON1 = 1010,
			ID_WXEDIT4 = 1008,
			ID_WXSTATICTEXT4 = 1007,
			ID_WXEDIT3 = 1006,
			ID_WXEDIT2 = 1005,
			ID_WXSTATICTEXT3 = 1004,
			ID_WXSTATICTEXT2 = 1003,
			ID_WXSTATICTEXT1 = 1002,
			ID_WXEDIT1 = 1001,
			////GUI Enum Control ID End
			ID_DUMMY_VALUE_ //don't remove this value unless you have other enum values
		};
	
	private:
		void OnClose(wxCloseEvent& event);
		void CreateGUIControls();
};

#endif