1
///////////////////////////////////////////////////////////////////////////
2
// C++ code generated with wxFormBuilder (version Mar 19 2008)
3
// http://www.wxformbuilder.org/
5
// PLEASE DO "NOT" EDIT THIS FILE!
6
///////////////////////////////////////////////////////////////////////////
10
#include "wx/wxprec.h"
20
#include "options_base_dlg2.h"
22
///////////////////////////////////////////////////////////////////////////
24
OptionsBaseDlg2::OptionsBaseDlg2( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
26
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
28
wxBoxSizer* mainSizer;
29
mainSizer = new wxBoxSizer( wxVERTICAL );
31
wxBoxSizer* innerSizer;
32
innerSizer = new wxBoxSizer( wxHORIZONTAL );
34
m_treeBook = new wxTreebook(this, wxID_ANY);
35
innerSizer->Add( m_treeBook, 1, wxALL|wxEXPAND, 5 );
37
mainSizer->Add( innerSizer, 1, wxEXPAND, 5 );
39
m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
40
mainSizer->Add( m_staticline1, 0, wxALL|wxEXPAND, 5 );
43
btnSizer = new wxBoxSizer( wxHORIZONTAL );
45
m_okButton = new wxButton( this, wxID_OK, wxT("&OK"), wxDefaultPosition, wxDefaultSize, 0 );
46
m_okButton->SetDefault();
47
btnSizer->Add( m_okButton, 0, wxALIGN_RIGHT|wxALL, 5 );
49
m_cancelButton = new wxButton( this, wxID_CANCEL, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
50
btnSizer->Add( m_cancelButton, 0, wxALIGN_RIGHT|wxALL, 5 );
52
m_applyButton = new wxButton( this, wxID_APPLY, wxT("Apply"), wxDefaultPosition, wxDefaultSize, 0 );
53
btnSizer->Add( m_applyButton, 0, wxALIGN_RIGHT|wxALL, 5 );
55
mainSizer->Add( btnSizer, 0, wxALIGN_CENTER, 5 );
57
this->SetSizer( mainSizer );
60
this->Centre( wxBOTH );
63
this->Connect( wxEVT_ACTIVATE, wxActivateEventHandler( OptionsBaseDlg2::OnActivate ) );
64
this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( OptionsBaseDlg2::OnInitDialog ) );
65
m_okButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonOK ), NULL, this );
66
m_cancelButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonCancel ), NULL, this );
67
m_applyButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonApply ), NULL, this );
70
OptionsBaseDlg2::~OptionsBaseDlg2()
73
this->Disconnect( wxEVT_ACTIVATE, wxActivateEventHandler( OptionsBaseDlg2::OnActivate ) );
74
this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( OptionsBaseDlg2::OnInitDialog ) );
75
m_okButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonOK ), NULL, this );
76
m_cancelButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonCancel ), NULL, this );
77
m_applyButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( OptionsBaseDlg2::OnButtonApply ), NULL, this );