2013-05-26 04:36:44 +00:00
///////////////////////////////////////////////////////////////////////////
2022-05-29 20:28:10 +00:00
// C++ code generated with wxFormBuilder (version Oct 26 2018)
2013-05-26 04:36:44 +00:00
// http://www.wxformbuilder.org/
//
2018-08-02 17:00:41 +00:00
// PLEASE DO *NOT* EDIT THIS FILE!
2013-05-26 04:36:44 +00:00
///////////////////////////////////////////////////////////////////////////
# include "dialog_non_copper_zones_properties_base.h"
///////////////////////////////////////////////////////////////////////////
2014-07-15 16:53:13 +00:00
DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE : : DIALOG_NONCOPPER_ZONES_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 )
2013-05-26 04:36:44 +00:00
{
this - > SetSizeHints ( wxDefaultSize , wxDefaultSize ) ;
2018-02-18 09:09:13 +00:00
2013-05-26 04:36:44 +00:00
wxBoxSizer * m_MainSizer ;
m_MainSizer = new wxBoxSizer ( wxVERTICAL ) ;
2018-02-18 09:09:13 +00:00
2013-05-26 04:36:44 +00:00
wxBoxSizer * m_UpperSizer ;
m_UpperSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
2018-02-18 09:09:13 +00:00
2013-05-26 04:36:44 +00:00
wxBoxSizer * bSizerLeft ;
bSizerLeft = new wxBoxSizer ( wxVERTICAL ) ;
2018-02-18 09:09:13 +00:00
2018-05-25 14:56:04 +00:00
m_staticTextLayerSelection = new wxStaticText ( this , wxID_ANY , _ ( " Layer: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2013-05-26 04:36:44 +00:00
m_staticTextLayerSelection - > Wrap ( - 1 ) ;
bSizerLeft - > Add ( m_staticTextLayerSelection , 0 , wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2018-02-18 09:09:13 +00:00
2018-08-02 17:00:41 +00:00
m_layers = new wxDataViewListCtrl ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxDV_NO_HEADER | wxBORDER_SIMPLE ) ;
2020-11-11 15:58:12 +00:00
m_layers - > SetMinSize ( wxSize ( 100 , - 1 ) ) ;
2018-02-18 09:09:13 +00:00
2018-07-22 16:37:28 +00:00
bSizerLeft - > Add ( m_layers , 1 , wxALL | wxEXPAND , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
bSizerLeft - > Add ( 0 , 5 , 0 , wxEXPAND , 5 ) ;
2018-07-22 16:37:28 +00:00
m_UpperSizer - > Add ( bSizerLeft , 1 , wxEXPAND , 5 ) ;
2018-02-18 09:09:13 +00:00
wxBoxSizer * bSizerMiddle ;
bSizerMiddle = new wxBoxSizer ( wxVERTICAL ) ;
2020-08-07 14:04:34 +00:00
wxStaticBoxSizer * sbShape ;
sbShape = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Shape " ) ) , wxVERTICAL ) ;
2018-05-25 14:56:04 +00:00
wxGridBagSizer * gbSizer1 ;
gbSizer1 = new wxGridBagSizer ( 0 , 0 ) ;
gbSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2022-05-29 20:28:10 +00:00
gbSizer1 - > SetEmptyCellSize ( wxSize ( - 1 , 6 ) ) ;
2018-02-18 09:09:13 +00:00
2021-05-06 21:49:07 +00:00
m_cbLocked = new wxCheckBox ( sbShape - > GetStaticBox ( ) , wxID_ANY , _ ( " Locked " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-05-29 20:28:10 +00:00
gbSizer1 - > Add ( m_cbLocked , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2021-05-06 21:49:07 +00:00
2020-08-07 14:04:34 +00:00
m_staticTextStyle = new wxStaticText ( sbShape - > GetStaticBox ( ) , wxID_ANY , _ ( " Outline style: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-25 14:56:04 +00:00
m_staticTextStyle - > Wrap ( - 1 ) ;
2021-05-06 21:49:07 +00:00
gbSizer1 - > Add ( m_staticTextStyle , wxGBPosition ( 2 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
wxString m_OutlineDisplayCtrlChoices [ ] = { _ ( " Line " ) , _ ( " Hatched " ) , _ ( " Fully hatched " ) } ;
int m_OutlineDisplayCtrlNChoices = sizeof ( m_OutlineDisplayCtrlChoices ) / sizeof ( wxString ) ;
m_OutlineDisplayCtrl = new wxChoice ( sbShape - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_OutlineDisplayCtrlNChoices , m_OutlineDisplayCtrlChoices , 0 ) ;
m_OutlineDisplayCtrl - > SetSelection ( 0 ) ;
2021-08-16 11:43:54 +00:00
gbSizer1 - > Add ( m_OutlineDisplayCtrl , wxGBPosition ( 2 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2022-02-12 17:56:45 +00:00
m_stBorderHatchPitchText = new wxStaticText ( sbShape - > GetStaticBox ( ) , wxID_ANY , _ ( " Outline hatch pitch: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_stBorderHatchPitchText - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_stBorderHatchPitchText , wxGBPosition ( 3 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_outlineHatchPitchCtrl = new wxTextCtrl ( sbShape - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
gbSizer1 - > Add ( m_outlineHatchPitchCtrl , wxGBPosition ( 3 , 1 ) , wxGBSpan ( 1 , 1 ) , wxEXPAND | wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
m_outlineHatchUnits = new wxStaticText ( sbShape - > GetStaticBox ( ) , wxID_ANY , _ ( " units " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_outlineHatchUnits - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_outlineHatchUnits , wxGBPosition ( 3 , 2 ) , wxGBSpan ( 1 , 1 ) , wxTOP | wxBOTTOM | wxRIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-08-07 14:04:34 +00:00
m_MinWidthLabel = new wxStaticText ( sbShape - > GetStaticBox ( ) , wxID_ANY , _ ( " Minimum width: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-25 14:56:04 +00:00
m_MinWidthLabel - > Wrap ( - 1 ) ;
2022-02-12 17:56:45 +00:00
gbSizer1 - > Add ( m_MinWidthLabel , wxGBPosition ( 4 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
m_MinWidthCtrl = new wxTextCtrl ( sbShape - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-02-12 17:56:45 +00:00
gbSizer1 - > Add ( m_MinWidthCtrl , wxGBPosition ( 4 , 1 ) , wxGBSpan ( 1 , 1 ) , wxEXPAND | wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
m_MinWidthUnits = new wxStaticText ( sbShape - > GetStaticBox ( ) , wxID_ANY , _ ( " units " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-25 14:56:04 +00:00
m_MinWidthUnits - > Wrap ( - 1 ) ;
2022-02-12 17:56:45 +00:00
gbSizer1 - > Add ( m_MinWidthUnits , wxGBPosition ( 4 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_staticTextSmoothing = new wxStaticText ( sbShape - > GetStaticBox ( ) , wxID_ANY , _ ( " Corner smoothing: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-08-07 14:04:34 +00:00
m_staticTextSmoothing - > Wrap ( - 1 ) ;
2022-02-12 17:56:45 +00:00
gbSizer1 - > Add ( m_staticTextSmoothing , wxGBPosition ( 5 , 0 ) , wxGBSpan ( 1 , 1 ) , wxBOTTOM | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
wxString m_cornerSmoothingChoiceChoices [ ] = { _ ( " None " ) , _ ( " Chamfer " ) , _ ( " Fillet " ) } ;
int m_cornerSmoothingChoiceNChoices = sizeof ( m_cornerSmoothingChoiceChoices ) / sizeof ( wxString ) ;
m_cornerSmoothingChoice = new wxChoice ( sbShape - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_cornerSmoothingChoiceNChoices , m_cornerSmoothingChoiceChoices , 0 ) ;
m_cornerSmoothingChoice - > SetSelection ( 0 ) ;
2022-02-12 17:56:45 +00:00
gbSizer1 - > Add ( m_cornerSmoothingChoice , wxGBPosition ( 5 , 1 ) , wxGBSpan ( 1 , 1 ) , wxBOTTOM | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
m_cornerRadiusLabel = new wxStaticText ( sbShape - > GetStaticBox ( ) , wxID_ANY , _ ( " Chamfer distance: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_cornerRadiusLabel - > Wrap ( - 1 ) ;
2022-02-12 17:56:45 +00:00
gbSizer1 - > Add ( m_cornerRadiusLabel , wxGBPosition ( 6 , 0 ) , wxGBSpan ( 1 , 1 ) , wxBOTTOM | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
m_cornerRadiusCtrl = new wxTextCtrl ( sbShape - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2022-02-12 17:56:45 +00:00
gbSizer1 - > Add ( m_cornerRadiusCtrl , wxGBPosition ( 6 , 1 ) , wxGBSpan ( 1 , 1 ) , wxBOTTOM | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
m_cornerRadiusUnits = new wxStaticText ( sbShape - > GetStaticBox ( ) , wxID_ANY , _ ( " units " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_cornerRadiusUnits - > Wrap ( - 1 ) ;
2022-02-12 17:56:45 +00:00
gbSizer1 - > Add ( m_cornerRadiusUnits , wxGBPosition ( 6 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT , 5 ) ;
2020-08-07 14:04:34 +00:00
gbSizer1 - > AddGrowableCol ( 1 ) ;
sbShape - > Add ( gbSizer1 , 0 , wxEXPAND , 5 ) ;
2022-05-29 20:28:10 +00:00
bSizerMiddle - > Add ( sbShape , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
2020-08-07 14:04:34 +00:00
wxStaticBoxSizer * sbFill ;
sbFill = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Fill " ) ) , wxVERTICAL ) ;
2018-02-18 09:09:13 +00:00
wxFlexGridSizer * fgSizer1 ;
fgSizer1 = new wxFlexGridSizer ( 0 , 3 , 0 , 0 ) ;
fgSizer1 - > AddGrowableCol ( 1 ) ;
fgSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2020-08-07 14:04:34 +00:00
m_staticTextGridFillType = new wxStaticText ( sbFill - > GetStaticBox ( ) , wxID_ANY , _ ( " Fill type: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-02-18 09:09:13 +00:00
m_staticTextGridFillType - > Wrap ( - 1 ) ;
2021-08-16 11:43:54 +00:00
fgSizer1 - > Add ( m_staticTextGridFillType , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
wxString m_GridStyleCtrlChoices [ ] = { _ ( " Solid fill " ) , _ ( " Hatch pattern " ) } ;
2018-02-18 09:09:13 +00:00
int m_GridStyleCtrlNChoices = sizeof ( m_GridStyleCtrlChoices ) / sizeof ( wxString ) ;
2020-08-07 14:04:34 +00:00
m_GridStyleCtrl = new wxChoice ( sbFill - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_GridStyleCtrlNChoices , m_GridStyleCtrlChoices , 0 ) ;
2018-02-18 09:09:13 +00:00
m_GridStyleCtrl - > SetSelection ( 0 ) ;
2021-08-16 11:43:54 +00:00
fgSizer1 - > Add ( m_GridStyleCtrl , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
fgSizer1 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
2021-08-16 11:43:54 +00:00
m_hatchOrientLabel = new wxStaticText ( sbFill - > GetStaticBox ( ) , wxID_ANY , _ ( " Orientation: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_hatchOrientLabel - > Wrap ( - 1 ) ;
fgSizer1 - > Add ( m_hatchOrientLabel , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_hatchOrientCtrl = new wxTextCtrl ( sbFill - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer1 - > Add ( m_hatchOrientCtrl , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_hatchOrientUnits = new wxStaticText ( sbFill - > GetStaticBox ( ) , wxID_ANY , _ ( " degree " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_hatchOrientUnits - > Wrap ( - 1 ) ;
fgSizer1 - > Add ( m_hatchOrientUnits , 0 , wxBOTTOM | wxRIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_hatchWidthLabel = new wxStaticText ( sbFill - > GetStaticBox ( ) , wxID_ANY , _ ( " Hatch width: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_hatchWidthLabel - > Wrap ( - 1 ) ;
fgSizer1 - > Add ( m_hatchWidthLabel , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_hatchWidthCtrl = new wxTextCtrl ( sbFill - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer1 - > Add ( m_hatchWidthCtrl , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_hatchWidthUnits = new wxStaticText ( sbFill - > GetStaticBox ( ) , wxID_ANY , _ ( " units " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_hatchWidthUnits - > Wrap ( - 1 ) ;
fgSizer1 - > Add ( m_hatchWidthUnits , 0 , wxBOTTOM | wxRIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_hatchGapLabel = new wxStaticText ( sbFill - > GetStaticBox ( ) , wxID_ANY , _ ( " Hatch gap: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_hatchGapLabel - > Wrap ( - 1 ) ;
fgSizer1 - > Add ( m_hatchGapLabel , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_hatchGapCtrl = new wxTextCtrl ( sbFill - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer1 - > Add ( m_hatchGapCtrl , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_hatchGapUnits = new wxStaticText ( sbFill - > GetStaticBox ( ) , wxID_ANY , _ ( " units " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_hatchGapUnits - > Wrap ( - 1 ) ;
fgSizer1 - > Add ( m_hatchGapUnits , 0 , wxBOTTOM | wxRIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
m_smoothLevelLabel = new wxStaticText ( sbFill - > GetStaticBox ( ) , wxID_ANY , _ ( " Smoothing effort: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_smoothLevelLabel - > Wrap ( - 1 ) ;
m_smoothLevelLabel - > SetToolTip ( _ ( " Value of smoothing effort \n 0 = no smoothing \n 1 = chamfer \n 2 = round corners \n 3 = round corners (finer shape) " ) ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
fgSizer1 - > Add ( m_smoothLevelLabel , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
m_spinCtrlSmoothLevel = new wxSpinCtrl ( sbFill - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS , 0 , 3 , 0 ) ;
2021-08-16 11:43:54 +00:00
fgSizer1 - > Add ( m_spinCtrlSmoothLevel , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
2018-02-18 09:09:13 +00:00
fgSizer1 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
2021-08-16 11:43:54 +00:00
m_smoothValueLabel = new wxStaticText ( sbFill - > GetStaticBox ( ) , wxID_ANY , _ ( " Smoothing amount: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_smoothValueLabel - > Wrap ( - 1 ) ;
m_smoothValueLabel - > SetToolTip ( _ ( " Ratio between smoothed corners size and the gap between lines \n 0 = no smoothing \n 1.0 = max radius/chamfer size (half gap value) " ) ) ;
2018-02-18 09:09:13 +00:00
2021-08-16 11:43:54 +00:00
fgSizer1 - > Add ( m_smoothValueLabel , 0 , wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxLEFT , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
m_spinCtrlSmoothValue = new wxSpinCtrlDouble ( sbFill - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS , 0 , 1 , 0.1 , 0.1 ) ;
2018-02-18 09:09:13 +00:00
m_spinCtrlSmoothValue - > SetDigits ( 2 ) ;
2021-08-16 11:43:54 +00:00
fgSizer1 - > Add ( m_spinCtrlSmoothValue , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
sbFill - > Add ( fgSizer1 , 0 , wxEXPAND , 5 ) ;
2019-04-30 11:16:29 +00:00
2022-05-29 20:28:10 +00:00
bSizerMiddle - > Add ( sbFill , 0 , wxEXPAND | wxTOP | wxBOTTOM , 5 ) ;
2018-02-18 09:09:13 +00:00
2020-08-07 14:04:34 +00:00
m_UpperSizer - > Add ( bSizerMiddle , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 10 ) ;
2018-02-18 09:09:13 +00:00
2018-07-22 16:37:28 +00:00
m_MainSizer - > Add ( m_UpperSizer , 1 , wxEXPAND | wxALL , 5 ) ;
2018-02-18 09:09:13 +00:00
2013-05-26 04:36:44 +00:00
m_staticline1 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
2018-05-25 14:56:04 +00:00
m_MainSizer - > Add ( m_staticline1 , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
2018-02-18 09:09:13 +00:00
2013-05-26 04:36:44 +00:00
m_sdbSizerButtons = new wxStdDialogButtonSizer ( ) ;
m_sdbSizerButtonsOK = new wxButton ( this , wxID_OK ) ;
m_sdbSizerButtons - > AddButton ( m_sdbSizerButtonsOK ) ;
m_sdbSizerButtonsCancel = new wxButton ( this , wxID_CANCEL ) ;
m_sdbSizerButtons - > AddButton ( m_sdbSizerButtonsCancel ) ;
m_sdbSizerButtons - > Realize ( ) ;
2018-02-18 09:09:13 +00:00
2018-05-25 14:56:04 +00:00
m_MainSizer - > Add ( m_sdbSizerButtons , 0 , wxEXPAND | wxALL , 5 ) ;
2018-02-18 09:09:13 +00:00
2013-05-26 04:36:44 +00:00
this - > SetSizer ( m_MainSizer ) ;
this - > Layout ( ) ;
2020-11-11 15:58:12 +00:00
m_MainSizer - > Fit ( this ) ;
2018-02-18 09:09:13 +00:00
2013-05-26 04:36:44 +00:00
this - > Centre ( wxBOTH ) ;
2018-02-18 09:09:13 +00:00
2018-05-25 14:56:04 +00:00
// Connect Events
2019-04-30 11:16:29 +00:00
this - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE : : OnUpdateUI ) ) ;
2018-05-25 14:56:04 +00:00
m_layers - > Connect ( wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED , wxDataViewEventHandler ( DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE : : OnLayerSelection ) , NULL , this ) ;
2018-02-18 09:09:13 +00:00
m_GridStyleCtrl - > Connect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE : : OnStyleSelection ) , NULL , this ) ;
2013-05-26 04:36:44 +00:00
}
2014-07-15 16:53:13 +00:00
DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE : : ~ DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE ( )
2013-05-26 04:36:44 +00:00
{
2018-05-25 14:56:04 +00:00
// Disconnect Events
2019-04-30 11:16:29 +00:00
this - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE : : OnUpdateUI ) ) ;
2018-05-25 14:56:04 +00:00
m_layers - > Disconnect ( wxEVT_COMMAND_DATAVIEW_ITEM_VALUE_CHANGED , wxDataViewEventHandler ( DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE : : OnLayerSelection ) , NULL , this ) ;
2018-02-18 09:09:13 +00:00
m_GridStyleCtrl - > Disconnect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_NONCOPPER_ZONES_PROPERTIES_BASE : : OnStyleSelection ) , NULL , this ) ;
2013-05-26 04:36:44 +00:00
}