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.

67 lines
2.9 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version Dec 30 2017)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO *NOT* EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #include "dialog_push_pad_properties_base.h"
  8. ///////////////////////////////////////////////////////////////////////////
  9. DIALOG_PUSH_PAD_PROPERTIES_BASE::DIALOG_PUSH_PAD_PROPERTIES_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
  10. {
  11. this->SetSizeHints( wxDefaultSize, wxDefaultSize );
  12. wxBoxSizer* bMainSizer;
  13. bMainSizer = new wxBoxSizer( wxVERTICAL );
  14. wxBoxSizer* bLeftSizer;
  15. bLeftSizer = new wxBoxSizer( wxVERTICAL );
  16. wxStaticBoxSizer* sbSizer1;
  17. sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Options") ), wxVERTICAL );
  18. m_Pad_Shape_Filter_CB = new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _("Do not modify pads having a different shape"), wxDefaultPosition, wxDefaultSize, 0 );
  19. sbSizer1->Add( m_Pad_Shape_Filter_CB, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
  20. m_Pad_Layer_Filter_CB = new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _("Do not modify pads having different layers"), wxDefaultPosition, wxDefaultSize, 0 );
  21. sbSizer1->Add( m_Pad_Layer_Filter_CB, 0, wxALL, 5 );
  22. m_Pad_Orient_Filter_CB = new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _("Do not modify pads having a different orientation"), wxDefaultPosition, wxDefaultSize, 0 );
  23. sbSizer1->Add( m_Pad_Orient_Filter_CB, 0, wxALL, 5 );
  24. bLeftSizer->Add( sbSizer1, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
  25. bMainSizer->Add( bLeftSizer, 1, wxALL|wxEXPAND, 5 );
  26. m_sdbSizer1 = new wxStdDialogButtonSizer();
  27. m_sdbSizer1OK = new wxButton( this, wxID_OK );
  28. m_sdbSizer1->AddButton( m_sdbSizer1OK );
  29. m_sdbSizer1Apply = new wxButton( this, wxID_APPLY );
  30. m_sdbSizer1->AddButton( m_sdbSizer1Apply );
  31. m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
  32. m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
  33. m_sdbSizer1->Realize();
  34. bMainSizer->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
  35. this->SetSizer( bMainSizer );
  36. this->Layout();
  37. bMainSizer->Fit( this );
  38. // Connect Events
  39. m_sdbSizer1Apply->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PUSH_PAD_PROPERTIES_BASE::PadPropertiesAccept ), NULL, this );
  40. m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PUSH_PAD_PROPERTIES_BASE::PadPropertiesAccept ), NULL, this );
  41. }
  42. DIALOG_PUSH_PAD_PROPERTIES_BASE::~DIALOG_PUSH_PAD_PROPERTIES_BASE()
  43. {
  44. // Disconnect Events
  45. m_sdbSizer1Apply->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PUSH_PAD_PROPERTIES_BASE::PadPropertiesAccept ), NULL, this );
  46. m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PUSH_PAD_PROPERTIES_BASE::PadPropertiesAccept ), NULL, this );
  47. }