@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Dec 30 2017 )
// C++ code generated with wxFormBuilder (version Dec 1 2018 )
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
@ -75,7 +75,7 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
m_staticText45 - > Wrap ( - 1 ) ;
fgSizerShapeType - > Add ( m_staticText45 , 0 , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxLEFT , 3 ) ;
wxString m_PadShapeChoices [ ] = { _ ( " Circular " ) , _ ( " Oval " ) , _ ( " Rectangular " ) , _ ( " Trapezoidal " ) , _ ( " Rounded Rectangle " ) , _ ( " Custom (Circ. Anchor) " ) , _ ( " Custom (Rect. Anchor) " ) } ;
wxString m_PadShapeChoices [ ] = { _ ( " Circular " ) , _ ( " Oval " ) , _ ( " Rectangular " ) , _ ( " Trapezoidal " ) , _ ( " Rounded Rectangle " ) , _ ( " Chamfered Rectangle " ) , _ ( " C ustom (Circ. Anchor) " ) , _ ( " Custom (Rect. Anchor) " ) } ;
int m_PadShapeNChoices = sizeof ( m_PadShapeChoices ) / sizeof ( wxString ) ;
m_PadShape = new wxChoice ( m_panelGeneral , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_PadShapeNChoices , m_PadShapeChoices , 0 ) ;
m_PadShape - > SetSelection ( 0 ) ;
@ -219,17 +219,53 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
m_cornerRadiusLabel - > Wrap ( - 1 ) ;
m_cornerRadiusLabel - > SetToolTip ( _ ( " Corner radius. \n Can be no more than half pad width. \n The width is the smaller value between size X and size Y. \n Note: IPC norm gives a max value = 0.25mm. " ) ) ;
fgSizerShapeType - > Add ( m_cornerRadiusLabel , 0 , wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT , 3 ) ;
fgSizerShapeType - > Add ( m_cornerRadiusLabel , 0 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 3 ) ;
m_tcCornerRadius = new wxTextCtrl ( m_panelGeneral , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_tcCornerRadius - > SetToolTip ( _ ( " Corner radius. \n Can be no more than half pad width. \n The width is the smaller value between size X and size Y \n Note: IPC norm gives a max value = 0.25mm " ) ) ;
fgSizerShapeType - > Add ( m_tcCornerRadius , 0 , wxALIGN_CENTER_VERTICAL | wxALL | wxEXPAND , 3 ) ;
fgSizerShapeType - > Add ( m_tcCornerRadius , 0 , wxALL | wxEXPAND , 3 ) ;
m_cornerRadiusUnits = new wxStaticText ( m_panelGeneral , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_cornerRadiusUnits - > Wrap ( - 1 ) ;
fgSizerShapeType - > Add ( m_cornerRadiusUnits , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT , 3 ) ;
m_staticTextChamferRatio = new wxStaticText ( m_panelGeneral , wxID_ANY , _ ( " Chamfer size: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticTextChamferRatio - > Wrap ( - 1 ) ;
m_staticTextChamferRatio - > SetToolTip ( _ ( " Chamfer size in percent of the pad width. \n The width is the smaller value between size X and size Y. \n The max value is 50 percent. " ) ) ;
fgSizerShapeType - > Add ( m_staticTextChamferRatio , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
m_tcChamferRatio = new TEXT_CTRL_EVAL ( m_panelGeneral , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerShapeType - > Add ( m_tcChamferRatio , 0 , wxEXPAND | wxTOP | wxRIGHT | wxLEFT , 3 ) ;
m_staticTextChamferRatioUnit = new wxStaticText ( m_panelGeneral , wxID_ANY , _ ( " % " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticTextChamferRatioUnit - > Wrap ( - 1 ) ;
fgSizerShapeType - > Add ( m_staticTextChamferRatioUnit , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
m_staticTextChamferCorner = new wxStaticText ( m_panelGeneral , wxID_ANY , _ ( " Chamfered corner: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticTextChamferCorner - > Wrap ( - 1 ) ;
m_staticTextChamferCorner - > SetToolTip ( _ ( " Chamfered corners. The position is relative to a pad orientation 0 degree. " ) ) ;
fgSizerShapeType - > Add ( m_staticTextChamferCorner , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
wxBoxSizer * bSizerChamferedCorners ;
bSizerChamferedCorners = new wxBoxSizer ( wxVERTICAL ) ;
m_cbTopLeft = new wxCheckBox ( m_panelGeneral , wxID_ANY , _ ( " Top left " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_cbTopLeft - > SetValue ( true ) ;
bSizerChamferedCorners - > Add ( m_cbTopLeft , 0 , wxTOP | wxRIGHT | wxLEFT , 5 ) ;
m_cbTopRight = new wxCheckBox ( m_panelGeneral , wxID_ANY , _ ( " Top right " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizerChamferedCorners - > Add ( m_cbTopRight , 0 , wxRIGHT | wxLEFT , 5 ) ;
m_cbBottomLeft = new wxCheckBox ( m_panelGeneral , wxID_ANY , _ ( " Bottom left " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizerChamferedCorners - > Add ( m_cbBottomLeft , 0 , wxRIGHT | wxLEFT , 5 ) ;
m_cbBottomRight = new wxCheckBox ( m_panelGeneral , wxID_ANY , _ ( " Bottom right " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
bSizerChamferedCorners - > Add ( m_cbBottomRight , 0 , wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
fgSizerShapeType - > Add ( bSizerChamferedCorners , 0 , wxEXPAND , 5 ) ;
m_LeftBoxSizer - > Add ( fgSizerShapeType , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxEXPAND , 5 ) ;
@ -725,6 +761,11 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
m_trapAxisCtrl - > Connect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnSetLayers ) , NULL , this ) ;
m_tcCornerSizeRatio - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : onCornerSizePercentChange ) , NULL , this ) ;
m_tcCornerRadius - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : onCornerRadiusChange ) , NULL , this ) ;
m_tcChamferRatio - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : onCornerSizePercentChange ) , NULL , this ) ;
m_cbTopLeft - > Connect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_cbTopRight - > Connect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_cbBottomLeft - > Connect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_cbBottomRight - > Connect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_holeShapeCtrl - > Connect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnDrillShapeSelected ) , NULL , this ) ;
m_holeXCtrl - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_holeYCtrl - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
@ -773,6 +814,11 @@ DIALOG_PAD_PROPERTIES_BASE::~DIALOG_PAD_PROPERTIES_BASE()
m_trapAxisCtrl - > Disconnect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnSetLayers ) , NULL , this ) ;
m_tcCornerSizeRatio - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : onCornerSizePercentChange ) , NULL , this ) ;
m_tcCornerRadius - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : onCornerRadiusChange ) , NULL , this ) ;
m_tcChamferRatio - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : onCornerSizePercentChange ) , NULL , this ) ;
m_cbTopLeft - > Disconnect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_cbTopRight - > Disconnect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_cbBottomLeft - > Disconnect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_cbBottomRight - > Disconnect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_holeShapeCtrl - > Disconnect ( wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnDrillShapeSelected ) , NULL , this ) ;
m_holeXCtrl - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
m_holeYCtrl - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_PAD_PROPERTIES_BASE : : OnValuesChanged ) , NULL , this ) ;
@ -826,7 +872,7 @@ DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE::DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wx
m_startXLabel - > Wrap ( - 1 ) ;
fgSizerShapeProperties - > Add ( m_startXLabel , 0 , wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxLEFT , 5 ) ;
m_startXCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_startXCtrl = new TEXT_CTRL_EVAL ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerShapeProperties - > Add ( m_startXCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
m_startXUnits = new wxStaticText ( this , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
@ -837,7 +883,7 @@ DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE::DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wx
m_startYLabel - > Wrap ( - 1 ) ;
fgSizerShapeProperties - > Add ( m_startYLabel , 0 , wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_startYCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_startYCtrl = new TEXT_CTRL_EVAL ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerShapeProperties - > Add ( m_startYCtrl , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
m_startYUnits = new wxStaticText ( this , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
@ -852,7 +898,7 @@ DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE::DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wx
m_endXLabel - > Wrap ( - 1 ) ;
fgSizerShapeProperties - > Add ( m_endXLabel , 0 , wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_endXCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_endXCtrl = new TEXT_CTRL_EVAL ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerShapeProperties - > Add ( m_endXCtrl , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
m_endXUnits = new wxStaticText ( this , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
@ -863,7 +909,7 @@ DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE::DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wx
m_endYLabel - > Wrap ( - 1 ) ;
fgSizerShapeProperties - > Add ( m_endYLabel , 0 , wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxLEFT , 5 ) ;
m_endYCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_endYCtrl = new TEXT_CTRL_EVAL ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerShapeProperties - > Add ( m_endYCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
m_endYUnits = new wxStaticText ( this , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
@ -877,7 +923,7 @@ DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE::DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wx
fgSizerShapeProperties - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
m_radiusCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_radiusCtrl = new TEXT_CTRL_EVAL ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerShapeProperties - > Add ( m_radiusCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
m_radiusUnits = new wxStaticText ( this , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
@ -965,7 +1011,7 @@ DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE::DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE( wxWi
m_xLabel - > Wrap ( - 1 ) ;
fgSizerShapeProperties1 - > Add ( m_xLabel , 0 , wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxLEFT , 5 ) ;
m_xCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_xCtrl = new TEXT_CTRL_EVAL ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerShapeProperties1 - > Add ( m_xCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
m_xUnits = new wxStaticText ( this , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
@ -976,7 +1022,7 @@ DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE::DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE( wxWi
m_yLabel - > Wrap ( - 1 ) ;
fgSizerShapeProperties1 - > Add ( m_yLabel , 0 , wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL | wxLEFT , 5 ) ;
m_yCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_yCtrl = new TEXT_CTRL_EVAL ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerShapeProperties1 - > Add ( m_yCtrl , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
m_yUnits = new wxStaticText ( this , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
@ -990,7 +1036,7 @@ DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE::DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE( wxWi
fgSizerShapeProperties1 - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
m_rotationCtrl = new wxTextCtrl ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_rotationCtrl = new TEXT_CTRL_EVAL ( this , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerShapeProperties1 - > Add ( m_rotationCtrl , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
m_rotationUnits = new wxStaticText ( this , wxID_ANY , _ ( " deg " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
@ -1098,13 +1144,13 @@ DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE( wxWi
m_gridCornersList - > SetColLabelSize ( 22 ) ;
m_gridCornersList - > SetColLabelValue ( 0 , _ ( " Pos X " ) ) ;
m_gridCornersList - > SetColLabelValue ( 1 , _ ( " Pos Y " ) ) ;
m_gridCornersList - > SetColLabelAlignment ( wxALIGN_CENTR E , wxALIGN_CENTR E ) ;
m_gridCornersList - > SetColLabelAlignment ( wxALIGN_CENTER , wxALIGN_CENTER ) ;
// Rows
m_gridCornersList - > AutoSizeRows ( ) ;
m_gridCornersList - > EnableDragRowSize ( false ) ;
m_gridCornersList - > SetRowLabelSize ( 80 ) ;
m_gridCornersList - > SetRowLabelAlignment ( wxALIGN_CENTR E , wxALIGN_CENTR E ) ;
m_gridCornersList - > SetRowLabelAlignment ( wxALIGN_CENTER , wxALIGN_CENTER ) ;
// Label Appearance
@ -1115,7 +1161,7 @@ DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE( wxWi
wxBoxSizer * bSizerRightButts ;
bSizerRightButts = new wxBoxSizer ( wxHORIZONTAL ) ;
m_addButton = new wxBitmapButton ( this , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_addButton = new wxBitmapButton ( this , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , wxBU_AUTODRAW | 0 ) ;
m_addButton - > SetMinSize ( wxSize ( 30 , 30 ) ) ;
bSizerRightButts - > Add ( m_addButton , 0 , wxTOP | wxRIGHT | wxLEFT , 5 ) ;
@ -1123,7 +1169,7 @@ DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE( wxWi
bSizerRightButts - > Add ( 0 , 0 , 0 , wxEXPAND | wxRIGHT | wxLEFT , 5 ) ;
m_deleteButton = new wxBitmapButton ( this , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_deleteButton = new wxBitmapButton ( this , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , wxBU_AUTODRAW | 0 ) ;
m_deleteButton - > SetMinSize ( wxSize ( 30 , 30 ) ) ;
bSizerRightButts - > Add ( m_deleteButton , 0 , wxTOP | wxRIGHT | wxLEFT , 5 ) ;
@ -1141,7 +1187,7 @@ DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE( wxWi
m_thicknessLabel - > Wrap ( - 1 ) ;
fgSizerThickness - > Add ( m_thicknessLabel , 0 , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
m_thicknessCtrl = new wxTextCtrl ( this , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_thicknessCtrl = new TEXT_CTRL_EVAL ( this , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizerThickness - > Add ( m_thicknessCtrl , 0 , wxALL | wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
m_thicknessUnits = new wxStaticText ( this , wxID_ANY , _ ( " unit " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;