2015-02-12 03:22:24 +00:00
///////////////////////////////////////////////////////////////////////////
2019-05-15 16:21:12 +00:00
// C++ code generated with wxFormBuilder (version Mar 28 2019)
2015-02-12 03:22:24 +00:00
// http://www.wxformbuilder.org/
//
2017-12-27 17:09:27 +00:00
// PLEASE DO *NOT* EDIT THIS FILE!
2015-02-12 03:22:24 +00:00
///////////////////////////////////////////////////////////////////////////
2017-11-23 13:05:26 +00:00
# include "widgets/text_ctrl_eval.h"
2015-02-12 03:22:24 +00:00
# include "dialog_create_array_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_CREATE_ARRAY_BASE : : DIALOG_CREATE_ARRAY_BASE ( wxWindow * parent , wxWindowID id , const wxString & title , const wxPoint & pos , const wxSize & size , long style ) : DIALOG_SHIM ( parent , id , title , pos , size , style )
{
this - > SetSizeHints ( wxSize ( - 1 , - 1 ) , wxDefaultSize ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
wxBoxSizer * bMainSizer ;
bMainSizer = new wxBoxSizer ( wxVERTICAL ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_gridTypeNotebook = new wxNotebook ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_gridPanel = new wxPanel ( m_gridTypeNotebook , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxTAB_TRAVERSAL ) ;
wxBoxSizer * bSizer2 ;
bSizer2 = new wxBoxSizer ( wxHORIZONTAL ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
wxGridBagSizer * gbSizer1 ;
gbSizer1 = new wxGridBagSizer ( 0 , 0 ) ;
gbSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2019-01-25 16:28:53 +00:00
2015-07-11 23:11:34 +00:00
m_labelNx = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Horizontal count: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelNx - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_labelNx , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_RIGHT | wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-01-25 16:28:53 +00:00
2017-11-23 13:05:26 +00:00
m_entryNx = new TEXT_CTRL_EVAL ( m_gridPanel , wxID_ANY , _ ( " 5 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
gbSizer1 - > Add ( m_entryNx , wxGBPosition ( 0 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-07-11 23:11:34 +00:00
m_labelNy = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Vertical count: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelNy - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_labelNy , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_RIGHT | wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-01-25 16:28:53 +00:00
2017-11-23 13:05:26 +00:00
m_entryNy = new TEXT_CTRL_EVAL ( m_gridPanel , wxID_ANY , _ ( " 5 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
gbSizer1 - > Add ( m_entryNy , wxGBPosition ( 1 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-07-11 23:11:34 +00:00
m_labelDx = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Horizontal spacing: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelDx - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_labelDx , wxGBPosition ( 2 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-11-11 12:25:00 +00:00
m_entryDx = new wxTextCtrl ( m_gridPanel , wxID_ANY , _ ( " 5 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
gbSizer1 - > Add ( m_entryDx , wxGBPosition ( 2 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_unitLabelDx = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabelDx - > Wrap ( - 1 ) ;
2018-03-06 21:11:36 +00:00
gbSizer1 - > Add ( m_unitLabelDx , wxGBPosition ( 2 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-07-11 23:11:34 +00:00
m_labelDy = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Vertical spacing: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelDy - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_labelDy , wxGBPosition ( 3 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-11-11 12:25:00 +00:00
m_entryDy = new wxTextCtrl ( m_gridPanel , wxID_ANY , _ ( " 5 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
gbSizer1 - > Add ( m_entryDy , wxGBPosition ( 3 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_unitLabelDy = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabelDy - > Wrap ( - 1 ) ;
2018-03-06 21:11:36 +00:00
gbSizer1 - > Add ( m_unitLabelDy , wxGBPosition ( 3 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-07-11 23:11:34 +00:00
m_labelOffsetX = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Horizontal offset: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelOffsetX - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_labelOffsetX , wxGBPosition ( 4 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-11-11 12:25:00 +00:00
m_entryOffsetX = new wxTextCtrl ( m_gridPanel , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
gbSizer1 - > Add ( m_entryOffsetX , wxGBPosition ( 4 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_unitLabelOffsetX = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabelOffsetX - > Wrap ( - 1 ) ;
2018-03-06 21:11:36 +00:00
gbSizer1 - > Add ( m_unitLabelOffsetX , wxGBPosition ( 4 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-07-11 23:11:34 +00:00
m_labelOffsetY = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Vertical offset: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelOffsetY - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_labelOffsetY , wxGBPosition ( 5 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-11-11 12:25:00 +00:00
m_entryOffsetY = new wxTextCtrl ( m_gridPanel , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
gbSizer1 - > Add ( m_entryOffsetY , wxGBPosition ( 5 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_unitLabelOffsetY = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabelOffsetY - > Wrap ( - 1 ) ;
2018-03-06 21:11:36 +00:00
gbSizer1 - > Add ( m_unitLabelOffsetY , wxGBPosition ( 5 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_labelStagger = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Stagger: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelStagger - > Wrap ( - 1 ) ;
gbSizer1 - > Add ( m_labelStagger , wxGBPosition ( 6 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-01-25 16:28:53 +00:00
2017-11-23 13:05:26 +00:00
m_entryStagger = new TEXT_CTRL_EVAL ( m_gridPanel , wxID_ANY , _ ( " 1 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
gbSizer1 - > Add ( m_entryStagger , wxGBPosition ( 6 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
wxString m_radioBoxGridStaggerTypeChoices [ ] = { _ ( " Rows " ) , _ ( " Columns " ) } ;
int m_radioBoxGridStaggerTypeNChoices = sizeof ( m_radioBoxGridStaggerTypeChoices ) / sizeof ( wxString ) ;
2018-04-23 15:59:03 +00:00
m_radioBoxGridStaggerType = new wxRadioBox ( m_gridPanel , wxID_ANY , _ ( " Stagger Type: " ) , wxDefaultPosition , wxDefaultSize , m_radioBoxGridStaggerTypeNChoices , m_radioBoxGridStaggerTypeChoices , 1 , wxRA_SPECIFY_COLS ) ;
2015-07-11 23:11:34 +00:00
m_radioBoxGridStaggerType - > SetSelection ( 1 ) ;
gbSizer1 - > Add ( m_radioBoxGridStaggerType , wxGBPosition ( 7 , 0 ) , wxGBSpan ( 2 , 2 ) , wxALL | wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-03-06 21:11:36 +00:00
bSizer2 - > Add ( gbSizer1 , 1 , wxEXPAND | wxTOP | wxRIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-03-06 21:11:36 +00:00
bSizer2 - > Add ( 0 , 0 , 0 , wxALL | wxEXPAND , 10 ) ;
2019-01-25 16:28:53 +00:00
2016-04-02 12:52:29 +00:00
m_gridPadNumberingSizer = new wxBoxSizer ( wxVERTICAL ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
wxString m_radioBoxGridNumberingAxisChoices [ ] = { _ ( " Horizontal, then vertical " ) , _ ( " Vertical, then horizontal " ) } ;
int m_radioBoxGridNumberingAxisNChoices = sizeof ( m_radioBoxGridNumberingAxisChoices ) / sizeof ( wxString ) ;
2019-01-25 16:28:53 +00:00
m_radioBoxGridNumberingAxis = new wxRadioBox ( m_gridPanel , wxID_ANY , _ ( " Numbering Direction: " ) , wxDefaultPosition , wxDefaultSize , m_radioBoxGridNumberingAxisNChoices , m_radioBoxGridNumberingAxisChoices , 1 , wxRA_SPECIFY_COLS ) ;
2015-02-12 03:22:24 +00:00
m_radioBoxGridNumberingAxis - > SetSelection ( 0 ) ;
2016-04-02 12:52:29 +00:00
m_gridPadNumberingSizer - > Add ( m_radioBoxGridNumberingAxis , 0 , wxALL | wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-03-06 21:11:36 +00:00
m_checkBoxGridReverseNumbering = new wxCheckBox ( m_gridPanel , wxID_ANY , _ ( " Reverse numbering on alternate rows/columns " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2016-04-02 12:52:29 +00:00
m_gridPadNumberingSizer - > Add ( m_checkBoxGridReverseNumbering , 0 , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2016-03-07 07:13:06 +00:00
wxString m_rbGridStartNumberingOptChoices [ ] = { _ ( " Use first free number " ) , _ ( " From start value " ) } ;
int m_rbGridStartNumberingOptNChoices = sizeof ( m_rbGridStartNumberingOptChoices ) / sizeof ( wxString ) ;
2018-04-23 15:59:03 +00:00
m_rbGridStartNumberingOpt = new wxRadioBox ( m_gridPanel , wxID_ANY , _ ( " Initial Pad Number: " ) , wxDefaultPosition , wxDefaultSize , m_rbGridStartNumberingOptNChoices , m_rbGridStartNumberingOptChoices , 1 , wxRA_SPECIFY_COLS ) ;
2016-03-07 07:13:06 +00:00
m_rbGridStartNumberingOpt - > SetSelection ( 1 ) ;
2016-04-02 12:52:29 +00:00
m_gridPadNumberingSizer - > Add ( m_rbGridStartNumberingOpt , 0 , wxALL | wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-07-11 23:11:34 +00:00
wxString m_radioBoxGridNumberingSchemeChoices [ ] = { _ ( " Continuous (1, 2, 3...) " ) , _ ( " Coordinate (A1, A2, ... B1, ...) " ) } ;
2015-02-12 03:22:24 +00:00
int m_radioBoxGridNumberingSchemeNChoices = sizeof ( m_radioBoxGridNumberingSchemeChoices ) / sizeof ( wxString ) ;
2018-04-23 15:59:03 +00:00
m_radioBoxGridNumberingScheme = new wxRadioBox ( m_gridPanel , wxID_ANY , _ ( " Pad Numbering Scheme: " ) , wxDefaultPosition , wxDefaultSize , m_radioBoxGridNumberingSchemeNChoices , m_radioBoxGridNumberingSchemeChoices , 1 , wxRA_SPECIFY_COLS ) ;
2015-07-11 23:11:34 +00:00
m_radioBoxGridNumberingScheme - > SetSelection ( 1 ) ;
2016-04-02 12:52:29 +00:00
m_gridPadNumberingSizer - > Add ( m_radioBoxGridNumberingScheme , 0 , wxALL | wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_labelPriAxisNumbering = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Primary axis numbering: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelPriAxisNumbering - > Wrap ( - 1 ) ;
2016-04-02 12:52:29 +00:00
m_gridPadNumberingSizer - > Add ( m_labelPriAxisNumbering , 0 , wxLEFT | wxRIGHT | wxTOP , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
wxArrayString m_choicePriAxisNumberingChoices ;
m_choicePriAxisNumbering = new wxChoice ( m_gridPanel , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choicePriAxisNumberingChoices , 0 ) ;
m_choicePriAxisNumbering - > SetSelection ( 0 ) ;
2016-04-02 12:52:29 +00:00
m_gridPadNumberingSizer - > Add ( m_choicePriAxisNumbering , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_labelSecAxisNumbering = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Secondary axis numbering: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelSecAxisNumbering - > Wrap ( - 1 ) ;
m_labelSecAxisNumbering - > Enable ( false ) ;
2019-01-25 16:28:53 +00:00
2016-04-02 12:52:29 +00:00
m_gridPadNumberingSizer - > Add ( m_labelSecAxisNumbering , 0 , wxTOP | wxRIGHT | wxLEFT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
wxArrayString m_choiceSecAxisNumberingChoices ;
m_choiceSecAxisNumbering = new wxChoice ( m_gridPanel , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choiceSecAxisNumberingChoices , 0 ) ;
m_choiceSecAxisNumbering - > SetSelection ( 0 ) ;
m_choiceSecAxisNumbering - > Enable ( false ) ;
2019-01-25 16:28:53 +00:00
2016-04-02 12:52:29 +00:00
m_gridPadNumberingSizer - > Add ( m_choiceSecAxisNumbering , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-01-25 16:28:53 +00:00
2019-05-15 21:11:13 +00:00
wxFlexGridSizer * fgSizer1 ;
fgSizer1 = new wxFlexGridSizer ( 2 , 3 , 0 , 0 ) ;
fgSizer1 - > AddGrowableCol ( 0 ) ;
fgSizer1 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer1 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2019-01-25 16:28:53 +00:00
2016-03-07 07:13:06 +00:00
m_labelGridNumberingOffset = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Pad numbering start: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelGridNumberingOffset - > Wrap ( - 1 ) ;
2019-05-15 21:11:13 +00:00
fgSizer1 - > Add ( m_labelGridNumberingOffset , 1 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_entryGridPriNumberingOffset = new wxTextCtrl ( m_gridPanel , wxID_ANY , _ ( " 1 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-03-06 21:11:36 +00:00
m_entryGridPriNumberingOffset - > SetMinSize ( wxSize ( 72 , - 1 ) ) ;
2019-01-25 16:28:53 +00:00
2019-05-15 21:11:13 +00:00
fgSizer1 - > Add ( m_entryGridPriNumberingOffset , 0 , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_entryGridSecNumberingOffset = new wxTextCtrl ( m_gridPanel , wxID_ANY , _ ( " 1 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-03-06 21:11:36 +00:00
m_entryGridSecNumberingOffset - > SetMinSize ( wxSize ( 72 , - 1 ) ) ;
2019-01-25 16:28:53 +00:00
2019-05-15 21:11:13 +00:00
fgSizer1 - > Add ( m_entryGridSecNumberingOffset , 0 , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2019-05-15 21:11:13 +00:00
m_labelGridNumberingStep = new wxStaticText ( m_gridPanel , wxID_ANY , _ ( " Pad numbering skip: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelGridNumberingStep - > Wrap ( - 1 ) ;
fgSizer1 - > Add ( m_labelGridNumberingStep , 1 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2019-05-15 21:11:13 +00:00
m_entryGridPriNumberingStep = new wxTextCtrl ( m_gridPanel , wxID_ANY , _ ( " 1 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_entryGridPriNumberingStep - > SetMinSize ( wxSize ( 72 , - 1 ) ) ;
fgSizer1 - > Add ( m_entryGridPriNumberingStep , 0 , wxALL , 5 ) ;
m_entryGridSecNumberingStep = new wxTextCtrl ( m_gridPanel , wxID_ANY , _ ( " 1 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_entryGridSecNumberingStep - > SetMinSize ( wxSize ( 72 , - 1 ) ) ;
fgSizer1 - > Add ( m_entryGridSecNumberingStep , 0 , wxALL , 5 ) ;
m_gridPadNumberingSizer - > Add ( fgSizer1 , 1 , wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2016-04-02 12:52:29 +00:00
bSizer2 - > Add ( m_gridPadNumberingSizer , 0 , wxALL | wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_gridPanel - > SetSizer ( bSizer2 ) ;
m_gridPanel - > Layout ( ) ;
bSizer2 - > Fit ( m_gridPanel ) ;
2015-11-22 10:21:14 +00:00
m_gridTypeNotebook - > AddPage ( m_gridPanel , _ ( " Grid Array " ) , true ) ;
2015-02-12 03:22:24 +00:00
m_circularPanel = new wxPanel ( m_gridTypeNotebook , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxTAB_TRAVERSAL ) ;
wxBoxSizer * bSizer4 ;
bSizer4 = new wxBoxSizer ( wxHORIZONTAL ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
wxGridBagSizer * gbSizer2 ;
gbSizer2 = new wxGridBagSizer ( 0 , 0 ) ;
gbSizer2 - > SetFlexibleDirection ( wxBOTH ) ;
gbSizer2 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2019-01-25 16:28:53 +00:00
2015-07-11 23:11:34 +00:00
m_labelCentreX = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " Horizontal center: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelCentreX - > Wrap ( - 1 ) ;
gbSizer2 - > Add ( m_labelCentreX , wxGBPosition ( 0 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-11-11 12:25:00 +00:00
m_entryCentreX = new wxTextCtrl ( m_circularPanel , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
gbSizer2 - > Add ( m_entryCentreX , wxGBPosition ( 0 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_unitLabelCentreX = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabelCentreX - > Wrap ( - 1 ) ;
2018-03-06 21:11:36 +00:00
gbSizer2 - > Add ( m_unitLabelCentreX , wxGBPosition ( 0 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-07-11 23:11:34 +00:00
m_labelCentreY = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " Vertical center: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelCentreY - > Wrap ( - 1 ) ;
gbSizer2 - > Add ( m_labelCentreY , wxGBPosition ( 1 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-11-11 12:25:00 +00:00
m_entryCentreY = new wxTextCtrl ( m_circularPanel , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
gbSizer2 - > Add ( m_entryCentreY , wxGBPosition ( 1 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_unitLabelCentreY = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabelCentreY - > Wrap ( - 1 ) ;
2018-03-06 21:11:36 +00:00
gbSizer2 - > Add ( m_unitLabelCentreY , wxGBPosition ( 1 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_labelCircRadius = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " Radius: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelCircRadius - > Wrap ( - 1 ) ;
gbSizer2 - > Add ( m_labelCircRadius , wxGBPosition ( 2 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-06-14 08:26:11 +00:00
m_valueCircRadius = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_valueCircRadius - > Wrap ( - 1 ) ;
gbSizer2 - > Add ( m_valueCircRadius , wxGBPosition ( 2 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-06-14 08:26:11 +00:00
m_unitLabelCircRadius = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " mm " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabelCircRadius - > Wrap ( - 1 ) ;
gbSizer2 - > Add ( m_unitLabelCircRadius , wxGBPosition ( 2 , 2 ) , wxGBSpan ( 1 , 1 ) , wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_labelCircAngle = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " Angle: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelCircAngle - > Wrap ( - 1 ) ;
2015-02-12 03:22:24 +00:00
gbSizer2 - > Add ( m_labelCircAngle , wxGBPosition ( 3 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-11-11 12:25:00 +00:00
m_entryCircAngle = new wxTextCtrl ( m_circularPanel , wxID_ANY , _ ( " 0 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_entryCircAngle - > SetToolTip ( _ ( " Positive angles represent an anti-clockwise rotation. An angle of 0 will produce a full circle divided evenly into \" Count \" portions. " ) ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
gbSizer2 - > Add ( m_entryCircAngle , wxGBPosition ( 3 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_unitLabelCircAngle = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " deg " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_unitLabelCircAngle - > Wrap ( - 1 ) ;
2018-03-06 21:11:36 +00:00
gbSizer2 - > Add ( m_unitLabelCircAngle , wxGBPosition ( 3 , 2 ) , wxGBSpan ( 1 , 1 ) , wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM | wxRIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_labelCircCount = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " Count: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelCircCount - > Wrap ( - 1 ) ;
2015-02-12 03:22:24 +00:00
gbSizer2 - > Add ( m_labelCircCount , wxGBPosition ( 4 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2017-11-23 13:05:26 +00:00
m_entryCircCount = new TEXT_CTRL_EVAL ( m_circularPanel , wxID_ANY , _ ( " 4 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_entryCircCount - > SetToolTip ( _ ( " How many items in the array. " ) ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
gbSizer2 - > Add ( m_entryCircCount , wxGBPosition ( 4 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_labelCircRotate = new wxStaticText ( m_circularPanel , wxID_ANY , _ ( " Rotate: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelCircRotate - > Wrap ( - 1 ) ;
2015-02-12 03:22:24 +00:00
gbSizer2 - > Add ( m_labelCircRotate , wxGBPosition ( 5 , 0 ) , wxGBSpan ( 1 , 1 ) , wxALL | wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_entryRotateItemsCb = new wxCheckBox ( m_circularPanel , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-01-25 16:28:53 +00:00
m_entryRotateItemsCb - > SetValue ( true ) ;
2015-02-12 03:22:24 +00:00
m_entryRotateItemsCb - > SetToolTip ( _ ( " Rotate the item as well as move it - multi-selections will be rotated together " ) ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
gbSizer2 - > Add ( m_entryRotateItemsCb , wxGBPosition ( 5 , 1 ) , wxGBSpan ( 1 , 1 ) , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-03-06 21:11:36 +00:00
bSizer4 - > Add ( gbSizer2 , 1 , wxALL | wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-03-06 21:11:36 +00:00
bSizer4 - > Add ( 0 , 0 , 0 , wxALL | wxEXPAND , 10 ) ;
2019-01-25 16:28:53 +00:00
m_circPadNumberingSizer = new wxStaticBoxSizer ( new wxStaticBox ( m_circularPanel , wxID_ANY , _ ( " Numbering Options: " ) ) , wxVERTICAL ) ;
2016-03-07 07:13:06 +00:00
wxString m_rbCircStartNumberingOptChoices [ ] = { _ ( " Use first free number " ) , _ ( " From start value " ) } ;
int m_rbCircStartNumberingOptNChoices = sizeof ( m_rbCircStartNumberingOptChoices ) / sizeof ( wxString ) ;
2018-04-23 15:59:03 +00:00
m_rbCircStartNumberingOpt = new wxRadioBox ( m_circPadNumberingSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Initial Pad Number: " ) , wxDefaultPosition , wxDefaultSize , m_rbCircStartNumberingOptNChoices , m_rbCircStartNumberingOptChoices , 1 , wxRA_SPECIFY_COLS ) ;
2016-03-07 07:13:06 +00:00
m_rbCircStartNumberingOpt - > SetSelection ( 0 ) ;
2016-04-02 12:52:29 +00:00
m_circPadNumberingSizer - > Add ( m_rbCircStartNumberingOpt , 0 , wxALL | wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2019-05-15 16:21:12 +00:00
m_labelCircNumbering = new wxStaticText ( m_circPadNumberingSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Pad Numbering: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelCircNumbering - > Wrap ( - 1 ) ;
m_circPadNumberingSizer - > Add ( m_labelCircNumbering , 0 , wxALL , 5 ) ;
wxArrayString m_choiceCircNumberingChoices ;
m_choiceCircNumbering = new wxChoice ( m_circPadNumberingSizer - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choiceCircNumberingChoices , 0 ) ;
m_choiceCircNumbering - > SetSelection ( 0 ) ;
m_circPadNumberingSizer - > Add ( m_choiceCircNumbering , 0 , wxBOTTOM | wxEXPAND | wxLEFT | wxRIGHT , 5 ) ;
2019-05-15 21:11:13 +00:00
wxFlexGridSizer * fgSizer2 ;
fgSizer2 = new wxFlexGridSizer ( 0 , 2 , 0 , 0 ) ;
fgSizer2 - > AddGrowableCol ( 0 ) ;
fgSizer2 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer2 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2019-01-25 16:28:53 +00:00
2019-05-15 21:11:13 +00:00
m_labelCircNumStart = new wxStaticText ( m_circPadNumberingSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Pad numbering start: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2015-02-12 03:22:24 +00:00
m_labelCircNumStart - > Wrap ( - 1 ) ;
2019-05-15 21:11:13 +00:00
fgSizer2 - > Add ( m_labelCircNumStart , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2016-04-02 12:52:29 +00:00
m_entryCircNumberingStart = new wxTextCtrl ( m_circPadNumberingSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " 1 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-05-15 21:11:13 +00:00
fgSizer2 - > Add ( m_entryCircNumberingStart , 1 , wxALL , 5 ) ;
m_labelCircNumStep = new wxStaticText ( m_circPadNumberingSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " Pad numbering skip: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_labelCircNumStep - > Wrap ( - 1 ) ;
fgSizer2 - > Add ( m_labelCircNumStep , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
m_entryCircNumberingStep = new wxTextCtrl ( m_circPadNumberingSizer - > GetStaticBox ( ) , wxID_ANY , _ ( " 1 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer2 - > Add ( m_entryCircNumberingStep , 0 , wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2019-05-15 21:11:13 +00:00
m_circPadNumberingSizer - > Add ( fgSizer2 , 1 , wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2018-03-06 21:11:36 +00:00
bSizer4 - > Add ( m_circPadNumberingSizer , 0 , wxEXPAND | wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_circularPanel - > SetSizer ( bSizer4 ) ;
m_circularPanel - > Layout ( ) ;
bSizer4 - > Fit ( m_circularPanel ) ;
2015-11-22 10:21:14 +00:00
m_gridTypeNotebook - > AddPage ( m_circularPanel , _ ( " Circular Array " ) , false ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
bMainSizer - > Add ( m_gridTypeNotebook , 1 , wxEXPAND | wxALL , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
m_stdButtons = new wxStdDialogButtonSizer ( ) ;
m_stdButtonsOK = new wxButton ( this , wxID_OK ) ;
m_stdButtons - > AddButton ( m_stdButtonsOK ) ;
m_stdButtonsCancel = new wxButton ( this , wxID_CANCEL ) ;
m_stdButtons - > AddButton ( m_stdButtonsCancel ) ;
m_stdButtons - > Realize ( ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
bMainSizer - > Add ( m_stdButtons , 0 , wxALL | wxEXPAND , 5 ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
this - > SetSizer ( bMainSizer ) ;
this - > Layout ( ) ;
2017-12-27 17:09:27 +00:00
bMainSizer - > Fit ( this ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
// Connect Events
this - > Connect ( wxEVT_CLOSE_WINDOW , wxCloseEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnClose ) ) ;
2016-06-21 11:46:39 +00:00
m_entryNx - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryNy - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryDx - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryDy - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryOffsetX - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryOffsetY - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryStagger - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2016-03-07 07:13:06 +00:00
m_rbGridStartNumberingOpt - > Connect ( wxEVT_COMMAND_RADIOBOX_SELECTED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2015-02-12 03:22:24 +00:00
m_radioBoxGridNumberingScheme - > Connect ( wxEVT_COMMAND_RADIOBOX_SELECTED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2015-02-12 03:22:24 +00:00
m_entryCentreX - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryCentreY - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2016-06-21 11:46:39 +00:00
m_entryCircAngle - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryCircCount - > Connect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2016-03-07 07:13:06 +00:00
m_rbCircStartNumberingOpt - > Connect ( wxEVT_COMMAND_RADIOBOX_SELECTED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2015-02-12 03:22:24 +00:00
}
DIALOG_CREATE_ARRAY_BASE : : ~ DIALOG_CREATE_ARRAY_BASE ( )
{
// Disconnect Events
this - > Disconnect ( wxEVT_CLOSE_WINDOW , wxCloseEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnClose ) ) ;
2016-06-21 11:46:39 +00:00
m_entryNx - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryNy - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryDx - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryDy - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryOffsetX - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryOffsetY - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryStagger - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2016-03-07 07:13:06 +00:00
m_rbGridStartNumberingOpt - > Disconnect ( wxEVT_COMMAND_RADIOBOX_SELECTED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2015-02-12 03:22:24 +00:00
m_radioBoxGridNumberingScheme - > Disconnect ( wxEVT_COMMAND_RADIOBOX_SELECTED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2015-02-12 03:22:24 +00:00
m_entryCentreX - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryCentreY - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2016-06-21 11:46:39 +00:00
m_entryCircAngle - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
m_entryCircCount - > Disconnect ( wxEVT_COMMAND_TEXT_UPDATED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2016-03-07 07:13:06 +00:00
m_rbCircStartNumberingOpt - > Disconnect ( wxEVT_COMMAND_RADIOBOX_SELECTED , wxCommandEventHandler ( DIALOG_CREATE_ARRAY_BASE : : OnParameterChanged ) , NULL , this ) ;
2019-01-25 16:28:53 +00:00
2015-02-12 03:22:24 +00:00
}