42 lines
1.5 KiB
C++
42 lines
1.5 KiB
C++
|
///////////////////////////////////////////////////////////////////////////
|
||
|
// C++ code generated with wxFormBuilder (version Sep 8 2010)
|
||
|
// http://www.wxformbuilder.org/
|
||
|
//
|
||
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
||
|
///////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
#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 );
|
||
|
|
||
|
wxBoxSizer* bSizer4;
|
||
|
bSizer4 = new wxBoxSizer( wxVERTICAL );
|
||
|
|
||
|
m_txScript = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxTE_MULTILINE );
|
||
|
m_txScript->SetMinSize( wxSize( 480,500 ) );
|
||
|
|
||
|
bSizer4->Add( m_txScript, 0, wxALL, 5 );
|
||
|
|
||
|
m_btRun = new wxButton( this, wxID_ANY, wxT("&Run"), wxDefaultPosition, wxDefaultSize, 0 );
|
||
|
bSizer4->Add( m_btRun, 0, wxALL, 5 );
|
||
|
|
||
|
this->SetSizer( bSizer4 );
|
||
|
this->Layout();
|
||
|
|
||
|
this->Centre( wxBOTH );
|
||
|
|
||
|
// 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 );
|
||
|
|
||
|
}
|