2012-03-01 07:21:53 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2019-01-02 04:44:44 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Nov 23 2018)
|
2012-03-01 07:21:53 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-27 17:09:27 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2012-03-01 07:21:53 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_scripting_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
DIALOG_SCRIPTING_BASE::DIALOG_SCRIPTING_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
|
|
|
|
{
|
|
|
|
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
|
2019-01-02 04:44:44 +00:00
|
|
|
|
2015-08-30 11:00:30 +00:00
|
|
|
wxBoxSizer* bSizerMain;
|
|
|
|
bSizerMain = new wxBoxSizer( wxVERTICAL );
|
2019-01-02 04:44:44 +00:00
|
|
|
|
2012-03-01 07:21:53 +00:00
|
|
|
m_txScript = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxTE_MULTILINE );
|
|
|
|
m_txScript->SetMinSize( wxSize( 480,500 ) );
|
2019-01-02 04:44:44 +00:00
|
|
|
|
2015-08-30 11:00:30 +00:00
|
|
|
bSizerMain->Add( m_txScript, 1, wxALL|wxEXPAND, 5 );
|
2019-01-02 04:44:44 +00:00
|
|
|
|
|
|
|
m_btRun = new wxButton( this, wxID_ANY, _("&Run"), wxDefaultPosition, wxDefaultSize, 0 );
|
2015-08-30 11:00:30 +00:00
|
|
|
bSizerMain->Add( m_btRun, 0, wxALL, 5 );
|
2019-01-02 04:44:44 +00:00
|
|
|
|
|
|
|
|
2015-08-30 11:00:30 +00:00
|
|
|
this->SetSizer( bSizerMain );
|
2012-03-01 07:21:53 +00:00
|
|
|
this->Layout();
|
2017-12-27 17:09:27 +00:00
|
|
|
bSizerMain->Fit( this );
|
2019-01-02 04:44:44 +00:00
|
|
|
|
2012-03-01 07:21:53 +00:00
|
|
|
this->Centre( wxBOTH );
|
2019-01-02 04:44:44 +00:00
|
|
|
|
2012-03-01 07:21:53 +00:00
|
|
|
// Connect Events
|
|
|
|
m_btRun->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCRIPTING_BASE::OnRunButtonClick ), NULL, this );
|
|
|
|
}
|
|
|
|
|
|
|
|
DIALOG_SCRIPTING_BASE::~DIALOG_SCRIPTING_BASE()
|
|
|
|
{
|
|
|
|
// Disconnect Events
|
|
|
|
m_btRun->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SCRIPTING_BASE::OnRunButtonClick ), NULL, this );
|
2019-01-02 04:44:44 +00:00
|
|
|
|
2012-03-01 07:21:53 +00:00
|
|
|
}
|