You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.6 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version Oct 26 2018)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO *NOT* EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #include "kicad2step_frame_base.h"
  8. ///////////////////////////////////////////////////////////////////////////
  9. 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 )
  10. {
  11. this->SetSizeHints( wxDefaultSize, wxDefaultSize );
  12. this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_3DLIGHT ) );
  13. wxBoxSizer* bSizerMain;
  14. bSizerMain = new wxBoxSizer( wxVERTICAL );
  15. m_panelKicad2Step = new PANEL_KICAD2STEP( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
  16. bSizerMain->Add( m_panelKicad2Step, 1, wxEXPAND, 5 );
  17. m_sdbSizer1 = new wxStdDialogButtonSizer();
  18. m_sdbSizer1OK = new wxButton( this, wxID_OK );
  19. m_sdbSizer1->AddButton( m_sdbSizer1OK );
  20. m_sdbSizer1->Realize();
  21. bSizerMain->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
  22. this->SetSizer( bSizerMain );
  23. this->Layout();
  24. this->Centre( wxBOTH );
  25. // Connect Events
  26. m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( KICAD2STEP_FRAME_BASE::OnOKButtonClick ), NULL, this );
  27. }
  28. KICAD2STEP_FRAME_BASE::~KICAD2STEP_FRAME_BASE()
  29. {
  30. // Disconnect Events
  31. m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( KICAD2STEP_FRAME_BASE::OnOKButtonClick ), NULL, this );
  32. }