2018-09-20 09:05:52 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2022-10-04 01:53:37 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
|
2018-09-20 09:05:52 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "kicad2step_frame_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
KICAD2STEP_FRAME_BASE::KICAD2STEP_FRAME_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 );
|
2021-09-20 03:11:11 +00:00
|
|
|
this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_3DLIGHT ) );
|
2020-02-15 09:58:44 +00:00
|
|
|
|
2018-09-20 09:05:52 +00:00
|
|
|
wxBoxSizer* bSizerMain;
|
|
|
|
bSizerMain = new wxBoxSizer( wxVERTICAL );
|
2020-02-15 09:58:44 +00:00
|
|
|
|
2018-09-20 09:05:52 +00:00
|
|
|
m_panelKicad2Step = new PANEL_KICAD2STEP( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
|
2018-10-02 06:34:07 +00:00
|
|
|
bSizerMain->Add( m_panelKicad2Step, 1, wxEXPAND, 5 );
|
2020-02-15 09:58:44 +00:00
|
|
|
|
2021-09-20 03:11:11 +00:00
|
|
|
m_sdbSizer1 = new wxStdDialogButtonSizer();
|
|
|
|
m_sdbSizer1OK = new wxButton( this, wxID_OK );
|
|
|
|
m_sdbSizer1->AddButton( m_sdbSizer1OK );
|
|
|
|
m_sdbSizer1->Realize();
|
|
|
|
|
|
|
|
bSizerMain->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
|
|
|
|
|
2020-02-15 09:58:44 +00:00
|
|
|
|
2018-09-20 09:05:52 +00:00
|
|
|
this->SetSizer( bSizerMain );
|
|
|
|
this->Layout();
|
2020-02-15 09:58:44 +00:00
|
|
|
|
2018-09-20 09:05:52 +00:00
|
|
|
this->Centre( wxBOTH );
|
2021-09-20 03:11:11 +00:00
|
|
|
|
|
|
|
// Connect Events
|
2022-10-04 01:53:37 +00:00
|
|
|
this->Connect( wxEVT_IDLE, wxIdleEventHandler( KICAD2STEP_FRAME_BASE::OnIdle ) );
|
2021-09-20 03:11:11 +00:00
|
|
|
m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( KICAD2STEP_FRAME_BASE::OnOKButtonClick ), NULL, this );
|
2018-09-20 09:05:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
KICAD2STEP_FRAME_BASE::~KICAD2STEP_FRAME_BASE()
|
|
|
|
{
|
2021-09-20 03:11:11 +00:00
|
|
|
// Disconnect Events
|
2022-10-04 01:53:37 +00:00
|
|
|
this->Disconnect( wxEVT_IDLE, wxIdleEventHandler( KICAD2STEP_FRAME_BASE::OnIdle ) );
|
2021-09-20 03:11:11 +00:00
|
|
|
m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( KICAD2STEP_FRAME_BASE::OnOKButtonClick ), NULL, this );
|
|
|
|
|
2018-09-20 09:05:52 +00:00
|
|
|
}
|