summaryrefslogtreecommitdiff
path: root/LiteEditor/yestoallbasedlg.cpp
diff options
context:
space:
mode:
authorChow Loong Jin <hyperair@gmail.com>2010-01-10 23:59:47 +0800
committerChow Loong Jin <hyperair@gmail.com>2010-01-11 00:51:01 +0800
commit5ec7ea8b2ec3db0551071242c80c4ce575dfde47 (patch)
tree79f5e470992326c97778f0bb8a19e08c4af4a220 /LiteEditor/yestoallbasedlg.cpp
parent8a1bbfc1060643aa2b079e2a43b2ecaf1bdaa5da (diff)
Imported Upstream version 2.1.0.3584
Diffstat (limited to 'LiteEditor/yestoallbasedlg.cpp')
-rw-r--r--LiteEditor/yestoallbasedlg.cpp56
1 files changed, 56 insertions, 0 deletions
diff --git a/LiteEditor/yestoallbasedlg.cpp b/LiteEditor/yestoallbasedlg.cpp
new file mode 100644
index 00000000..e5a6a51b
--- /dev/null
+++ b/LiteEditor/yestoallbasedlg.cpp
@@ -0,0 +1,56 @@
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Mar 19 2008)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#include "yestoallbasedlg.h"
+
+///////////////////////////////////////////////////////////////////////////
+
+YesToAllBaseDlg::YesToAllBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+ this->SetSizeHints( wxDefaultSize, wxDefaultSize );
+
+ wxBoxSizer* bSizer1;
+ bSizer1 = new wxBoxSizer( wxVERTICAL );
+
+ m_staticMsg = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+ m_staticMsg->Wrap( -1 );
+ bSizer1->Add( m_staticMsg, 1, wxALL|wxEXPAND, 5 );
+
+ m_checkBoxAll = new wxCheckBox( this, wxID_ANY, _("Apply to all"), wxDefaultPosition, wxDefaultSize, 0 );
+
+ bSizer1->Add( m_checkBoxAll, 0, wxALL, 5 );
+
+ m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
+ bSizer1->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 );
+
+ wxBoxSizer* bSizer2;
+ bSizer2 = new wxBoxSizer( wxHORIZONTAL );
+
+ m_buttonOk = new wxButton( this, wxID_OK, _("&Yes"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_buttonOk->SetDefault();
+ bSizer2->Add( m_buttonOk, 0, wxALL, 5 );
+
+ m_buttonCancel = new wxButton( this, wxID_CANCEL, _("No"), wxDefaultPosition, wxDefaultSize, 0 );
+ bSizer2->Add( m_buttonCancel, 0, wxALL, 5 );
+
+ bSizer1->Add( bSizer2, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
+
+ this->SetSizer( bSizer1 );
+ this->Layout();
+ bSizer1->Fit( this );
+
+ // Connect Events
+ m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( YesToAllBaseDlg::OnYesClicked ), NULL, this );
+ m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( YesToAllBaseDlg::OnNoClicked ), NULL, this );
+}
+
+YesToAllBaseDlg::~YesToAllBaseDlg()
+{
+ // Disconnect Events
+ m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( YesToAllBaseDlg::OnYesClicked ), NULL, this );
+ m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( YesToAllBaseDlg::OnNoClicked ), NULL, this );
+}