diff --git a/pcbnew/dialogs/dialog_pad_properties_base.cpp b/pcbnew/dialogs/dialog_pad_properties_base.cpp index de05d4f03d..20c2cc7c39 100644 --- a/pcbnew/dialogs/dialog_pad_properties_base.cpp +++ b/pcbnew/dialogs/dialog_pad_properties_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Apr 19 2018) +// C++ code generated with wxFormBuilder (version Dec 30 2017) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -221,7 +221,7 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind fgSizerShapeType->Add( m_cornerRadiusLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 3 ); - m_tcCornerRadius = new TEXT_CTRL_EVAL( m_panelGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_tcCornerRadius = new wxTextCtrl( m_panelGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_tcCornerRadius->SetToolTip( _("Corner radius.\nCan be no more than half pad width.\nThe width is the smaller value between size X and size Y\nNote: IPC norm gives a max value = 0.25mm") ); fgSizerShapeType->Add( m_tcCornerRadius, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 3 ); @@ -826,7 +826,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 TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_startXCtrl = new wxTextCtrl( 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 +837,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 TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_startYCtrl = new wxTextCtrl( 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 +852,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 TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_endXCtrl = new wxTextCtrl( 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 +863,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 TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_endYCtrl = new wxTextCtrl( 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 +877,7 @@ DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE::DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wx fgSizerShapeProperties->Add( 0, 0, 1, wxEXPAND, 5 ); - m_radiusCtrl = new TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_radiusCtrl = new wxTextCtrl( 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 +965,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 TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_xCtrl = new wxTextCtrl( 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 +976,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 TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_yCtrl = new wxTextCtrl( 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 +990,7 @@ DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE::DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE( wxWi fgSizerShapeProperties1->Add( 0, 0, 1, wxEXPAND, 5 ); - m_rotationCtrl = new TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_rotationCtrl = new wxTextCtrl( 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 ); @@ -1115,7 +1115,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, wxBU_AUTODRAW|0 ); + m_addButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 ); m_addButton->SetMinSize( wxSize( 30,30 ) ); bSizerRightButts->Add( m_addButton, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); @@ -1123,7 +1123,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, wxBU_AUTODRAW|0 ); + m_deleteButton = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 ); m_deleteButton->SetMinSize( wxSize( 30,30 ) ); bSizerRightButts->Add( m_deleteButton, 0, wxTOP|wxRIGHT|wxLEFT, 5 ); @@ -1141,7 +1141,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 TEXT_CTRL_EVAL( this, wxID_ANY, _("0"), wxDefaultPosition, wxDefaultSize, 0 ); + m_thicknessCtrl = new wxTextCtrl( 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 ); diff --git a/pcbnew/dialogs/dialog_pad_properties_base.fbp b/pcbnew/dialogs/dialog_pad_properties_base.fbp index d259443ce3..f99d0cc6d8 100644 --- a/pcbnew/dialogs/dialog_pad_properties_base.fbp +++ b/pcbnew/dialogs/dialog_pad_properties_base.fbp @@ -14,7 +14,6 @@ dialog_pad_properties_base 1000 none - 1 dialog_pad_properties_base @@ -55,20 +54,13 @@ - + - - - - - - - @@ -83,23 +75,17 @@ - - - - - - @@ -173,14 +159,7 @@ - - - - - - - @@ -260,14 +239,7 @@ wxTAB_TRAVERSAL - - - - - - - @@ -353,7 +325,6 @@ 0 wxID_ANY Pad number: - 0 0 @@ -379,14 +350,7 @@ -1 - - - - - - - @@ -473,14 +437,7 @@ - - - - - - - @@ -552,7 +509,6 @@ 0 wxID_ANY Net name: - 0 0 @@ -578,14 +534,7 @@ -1 - - - - - - - @@ -670,14 +619,7 @@ - - - - - - - @@ -745,7 +687,6 @@ 0 wxID_ANY Pad type: - 0 0 @@ -771,14 +712,7 @@ -1 - - - - - - - @@ -865,14 +799,7 @@ - - - - - - - PadTypeSelected @@ -941,7 +868,6 @@ 0 wxID_ANY Shape: - 0 0 @@ -967,14 +893,7 @@ -1 - - - - - - - @@ -1061,14 +980,7 @@ - - - - - - - OnPadShapeSelection @@ -1137,7 +1049,6 @@ 0 wxID_ANY Position X: - 0 0 @@ -1163,14 +1074,7 @@ -1 - - - - - - - @@ -1257,14 +1161,7 @@ - - - - - - - @@ -1326,7 +1223,6 @@ 0 wxID_ANY Inch - 0 0 @@ -1352,14 +1248,7 @@ -1 - - - - - - - @@ -1417,7 +1306,6 @@ 0 wxID_ANY Position Y: - 0 0 @@ -1443,14 +1331,7 @@ -1 - - - - - - - @@ -1537,14 +1418,7 @@ - - - - - - - @@ -1606,7 +1480,6 @@ 0 wxID_ANY Inch - 0 0 @@ -1632,14 +1505,7 @@ -1 - - - - - - - @@ -1697,7 +1563,6 @@ 0 wxID_ANY Size X: - 0 0 @@ -1723,14 +1588,7 @@ -1 - - - - - - - @@ -1817,14 +1675,7 @@ - - - - - - - @@ -1886,7 +1737,6 @@ 0 wxID_ANY Inch - 0 0 @@ -1912,14 +1762,7 @@ -1 - - - - - - - @@ -1977,7 +1820,6 @@ 0 wxID_ANY Size Y: - 0 0 @@ -2003,14 +1845,7 @@ -1 - - - - - - - @@ -2097,14 +1932,7 @@ - - - - - - - @@ -2166,7 +1994,6 @@ 0 wxID_ANY Inch - 0 0 @@ -2192,14 +2019,7 @@ -1 - - - - - - - @@ -2257,7 +2077,6 @@ 0 wxID_ANY Orientation: - 0 0 @@ -2283,14 +2102,7 @@ -1 - - - - - - - @@ -2378,14 +2190,7 @@ - - - - - - - PadOrientEvent @@ -2448,7 +2253,6 @@ 0 wxID_ANY deg - 0 0 @@ -2474,14 +2278,7 @@ -1 - - - - - - - @@ -2539,7 +2336,6 @@ 0 wxID_ANY Shape offset X: - 0 0 @@ -2565,14 +2361,7 @@ -1 - - - - - - - @@ -2659,14 +2448,7 @@ - - - - - - - @@ -2728,7 +2510,6 @@ 0 wxID_ANY Inch - 0 0 @@ -2754,14 +2535,7 @@ -1 - - - - - - - @@ -2819,7 +2593,6 @@ 0 wxID_ANY Shape offset Y: - 0 0 @@ -2845,14 +2618,7 @@ -1 - - - - - - - @@ -2939,14 +2705,7 @@ - - - - - - - @@ -3008,7 +2767,6 @@ 0 wxID_ANY Inch - 0 0 @@ -3034,14 +2792,7 @@ -1 - - - - - - - @@ -3099,7 +2850,6 @@ 0 wxID_ANY Pad to die length: - 0 0 @@ -3125,14 +2875,7 @@ -1 - - - - - - - @@ -3219,14 +2962,7 @@ - - - - - - - @@ -3288,7 +3024,6 @@ 0 wxID_ANY Inch - 0 0 @@ -3314,14 +3049,7 @@ -1 - - - - - - - @@ -3379,7 +3107,6 @@ 0 wxID_ANY Trapezoid delta: - 0 0 @@ -3405,14 +3132,7 @@ -1 - - - - - - - @@ -3499,14 +3219,7 @@ - - - - - - - @@ -3568,7 +3281,6 @@ 0 wxID_ANY Inch - 0 0 @@ -3594,14 +3306,7 @@ -1 - - - - - - - @@ -3659,7 +3364,6 @@ 0 wxID_ANY Trapezoid axis: - 0 0 @@ -3685,14 +3389,7 @@ -1 - - - - - - - @@ -3779,14 +3476,7 @@ - - - - - - - OnSetLayers @@ -3855,7 +3545,6 @@ 0 wxID_ANY Corner size: - 0 0 @@ -3881,14 +3570,7 @@ -1 - - - - - - - @@ -3975,14 +3657,7 @@ - - - - - - - @@ -4044,7 +3719,6 @@ 0 wxID_ANY % - 0 0 @@ -4070,14 +3744,7 @@ -1 - - - - - - - @@ -4135,7 +3802,6 @@ 0 wxID_ANY Corner radius: - 0 0 @@ -4161,14 +3827,7 @@ -1 - - - - - - - @@ -4244,7 +3903,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h; forward_declare + ; ; forward_declare 0 Corner radius. Can be no more than half pad width. The width is the smaller value between size X and size Y Note: IPC norm gives a max value = 0.25mm @@ -4255,14 +3914,7 @@ - - - - - - - @@ -4324,7 +3976,6 @@ 0 wxID_ANY unit - 0 0 @@ -4350,14 +4001,7 @@ -1 - - - - - - - @@ -4444,7 +4088,6 @@ 0 wxID_ANY Hole shape: - 0 0 @@ -4470,14 +4113,7 @@ -1 - - - - - - - @@ -4564,14 +4200,7 @@ - - - - - - - OnDrillShapeSelected @@ -4630,7 +4259,6 @@ 0 wxID_ANY - 0 0 @@ -4656,14 +4284,7 @@ -1 - - - - - - - @@ -4721,7 +4342,6 @@ 0 wxID_ANY Hole size X: - 0 0 @@ -4747,14 +4367,7 @@ -1 - - - - - - - @@ -4841,14 +4454,7 @@ - - - - - - - @@ -4910,7 +4516,6 @@ 0 wxID_ANY Inch - 0 0 @@ -4936,14 +4541,7 @@ -1 - - - - - - - @@ -5001,7 +4599,6 @@ 0 wxID_ANY Hole size Y: - 0 0 @@ -5027,14 +4624,7 @@ -1 - - - - - - - @@ -5121,14 +4711,7 @@ - - - - - - - @@ -5190,7 +4773,6 @@ 0 wxID_ANY Inch - 0 0 @@ -5216,14 +4798,7 @@ -1 - - - - - - - @@ -5328,14 +4903,7 @@ - - - - - - - @@ -5393,7 +4961,6 @@ 0 wxID_ANY Parent footprint on board is flipped. Layers will be reversed. - 0 0 @@ -5419,14 +4986,7 @@ 150 - - - - - - - @@ -5495,7 +5055,6 @@ 0 wxID_ANY Copper: - 0 0 @@ -5521,14 +5080,7 @@ -1 - - - - - - - @@ -5615,14 +5167,7 @@ - - - - - - - OnSetLayers @@ -5683,7 +5228,6 @@ 0 wxID_ANY Technical layers: - 0 0 @@ -5709,14 +5253,7 @@ -1 - - - - - - - @@ -5803,14 +5340,7 @@ - - - - - - - OnSetLayers @@ -5898,14 +5428,7 @@ - - - - - - - OnSetLayers @@ -5993,14 +5516,7 @@ - - - - - - - OnSetLayers @@ -6088,14 +5604,7 @@ - - - - - - - OnSetLayers @@ -6183,14 +5692,7 @@ - - - - - - - OnSetLayers @@ -6278,14 +5780,7 @@ - - - - - - - OnSetLayers @@ -6373,14 +5868,7 @@ - - - - - - - OnSetLayers @@ -6468,14 +5956,7 @@ - - - - - - - OnSetLayers @@ -6563,14 +6044,7 @@ - - - - - - - OnSetLayers @@ -6658,14 +6132,7 @@ - - - - - - - OnSetLayers @@ -6753,14 +6220,7 @@ - - - - - - - OnSetLayers @@ -6848,14 +6308,7 @@ wxTAB_TRAVERSAL - - - - - - - @@ -6938,7 +6391,6 @@ 0 wxID_ANY Set values to 0 to use parent footprint or netclass values. - 0 0 @@ -6964,14 +6416,7 @@ -1 - - - - - - - @@ -7029,7 +6474,6 @@ 0 wxID_ANY Positive clearance means area bigger than the pad (usual for mask clearance). - 0 0 @@ -7055,14 +6499,7 @@ -1 - - - - - - - @@ -7120,7 +6557,6 @@ 0 wxID_ANY Negative clearance means area smaller than the pad (usual for paste clearance). - 0 0 @@ -7146,14 +6582,7 @@ -1 - - - - - - - @@ -7227,7 +6656,6 @@ 0 wxID_ANY Pad clearance: - 0 0 @@ -7253,14 +6681,7 @@ -1 - - - - - - - @@ -7347,14 +6768,7 @@ - - - - - - - @@ -7416,7 +6830,6 @@ 0 wxID_ANY Inch - 0 0 @@ -7442,14 +6855,7 @@ -1 - - - - - - - @@ -7507,7 +6913,6 @@ 0 wxID_ANY Solder mask clearance: - 0 0 @@ -7533,14 +6938,7 @@ -1 - - - - - - - @@ -7627,14 +7025,7 @@ - - - - - - - @@ -7696,7 +7087,6 @@ 0 wxID_ANY Inch - 0 0 @@ -7722,14 +7112,7 @@ -1 - - - - - - - @@ -7787,7 +7170,6 @@ 0 wxID_ANY Solder paste clearance: - 0 0 @@ -7813,14 +7195,7 @@ -1 - - - - - - - @@ -7907,14 +7282,7 @@ - - - - - - - @@ -7976,7 +7344,6 @@ 0 wxID_ANY Inch - 0 0 @@ -8002,14 +7369,7 @@ -1 - - - - - - - @@ -8067,7 +7427,6 @@ 0 wxID_ANY Solder paste ratio clearance: - 0 0 @@ -8093,14 +7452,7 @@ -1 - - - - - - - @@ -8187,14 +7539,7 @@ - - - - - - - @@ -8256,7 +7601,6 @@ 0 wxID_ANY % - 0 0 @@ -8282,14 +7626,7 @@ -1 - - - - - - - @@ -8371,14 +7708,7 @@ - - - - - - - @@ -8457,14 +7787,7 @@ wxTAB_TRAVERSAL - - - - - - - @@ -8525,7 +7848,6 @@ 0 wxID_ANY Note: solder mask and paste values are used only for pads on copper layers. - 0 0 @@ -8551,14 +7873,7 @@ -1 - - - - - - - @@ -8640,14 +7955,7 @@ wxTAB_TRAVERSAL - - - - - - - @@ -8731,14 +8039,7 @@ - - - - - - - @@ -8796,7 +8097,6 @@ 0 wxID_ANY Note: solder mask and paste values are used only for pads on copper layers. - 0 0 @@ -8822,14 +8122,7 @@ -1 - - - - - - - @@ -8923,7 +8216,6 @@ 0 wxID_ANY Pad connection: - 0 0 @@ -8949,14 +8241,7 @@ -1 - - - - - - - @@ -9043,14 +8328,7 @@ - - - - - - - @@ -9119,7 +8397,6 @@ 0 wxID_ANY Thermal relief spoke width: - 0 0 @@ -9145,14 +8422,7 @@ -1 - - - - - - - @@ -9239,14 +8509,7 @@ - - - - - - - @@ -9308,7 +8571,6 @@ 0 wxID_ANY Inch - 0 0 @@ -9334,14 +8596,7 @@ -1 - - - - - - - @@ -9399,7 +8654,6 @@ 0 wxID_ANY Thermal relief gap: - 0 0 @@ -9425,14 +8679,7 @@ -1 - - - - - - - @@ -9519,14 +8766,7 @@ - - - - - - - @@ -9588,7 +8828,6 @@ 0 wxID_ANY Inch - 0 0 @@ -9614,14 +8853,7 @@ -1 - - - - - - - @@ -9712,7 +8944,6 @@ 0 wxID_ANY Pad connection: - 0 0 @@ -9738,14 +8969,7 @@ -1 - - - - - - - @@ -9832,14 +9056,7 @@ - - - - - - - @@ -9898,7 +9115,6 @@ 0 wxID_ANY Custom pad shape in zone: - 0 0 @@ -9924,14 +9140,7 @@ -1 - - - - - - - @@ -10018,14 +9227,7 @@ - - - - - - - @@ -10115,14 +9317,7 @@ wxTAB_TRAVERSAL - - - - - - - @@ -10183,7 +9378,6 @@ 0 wxID_ANY Primitives list - 0 0 @@ -10209,14 +9403,7 @@ -1 - - - - - - - @@ -10274,7 +9461,6 @@ 0 wxID_ANY Coordinates are relative to anchor pad, orientation 0 - 0 0 @@ -10300,14 +9486,7 @@ -1 - - - - - - - @@ -10392,14 +9571,7 @@ - - - - - - - @@ -10477,31 +9649,25 @@ - 1 0 1 1 - 0 0 - Dock 0 Left 1 1 - 0 0 wxID_ANY Delete Primitive - - 0 0 @@ -10516,8 +9682,6 @@ protected 1 - - Resizable 1 @@ -10532,15 +9696,8 @@ - - - - - - onDeletePrimitive - @@ -10580,31 +9737,25 @@ - 1 0 1 1 - 0 0 - Dock 0 Left 1 1 - 0 0 wxID_ANY Edit Primitive - - 0 0 @@ -10619,8 +9770,6 @@ protected 1 - - Resizable 1 @@ -10635,15 +9784,8 @@ - - - - - - onEditPrimitive - @@ -10683,31 +9825,25 @@ - 1 0 1 1 - 0 0 - Dock 0 Left 1 1 - 0 0 wxID_ANY Add Primitive - - 0 0 @@ -10722,8 +9858,6 @@ protected 1 - - Resizable 1 @@ -10738,15 +9872,8 @@ - - - - - - onAddPrimitive - @@ -10786,31 +9913,25 @@ - 1 0 1 1 - 0 0 - Dock 0 Left 1 1 - 0 0 wxID_ANY Duplicate Primitive - - 0 0 @@ -10825,8 +9946,6 @@ protected 1 - - Resizable 1 @@ -10841,15 +9960,8 @@ - - - - - - onDuplicatePrimitive - @@ -10889,31 +10001,25 @@ - 1 0 1 1 - 0 0 - Dock 0 Left 1 1 - 0 0 wxID_ANY Transform Primitive - - 0 0 @@ -10928,8 +10034,6 @@ protected 1 - - Resizable 1 @@ -10944,15 +10048,8 @@ - - - - - - onGeometryTransform - @@ -11038,7 +10135,6 @@ 0 wxID_ANY Footprint name - 0 0 @@ -11064,14 +10160,7 @@ -1 - - - - - - - @@ -11129,7 +10218,6 @@ 0 wxID_ANY side and rotation - 0 0 @@ -11155,14 +10243,7 @@ -1 - - - - - - - @@ -11252,14 +10333,7 @@ wxFULL_REPAINT_ON_RESIZE|wxBORDER_SIMPLE - - - - - - - @@ -11344,14 +10418,7 @@ - - - - - - - @@ -11438,14 +10505,7 @@ - - - - - - - onChangePadMode @@ -11537,14 +10597,7 @@ - - - - - - - @@ -11629,20 +10682,13 @@ - + - - - - - - - @@ -11657,23 +10703,17 @@ - - - - - - @@ -11730,7 +10770,6 @@ 0 wxID_ANY Start point - 0 0 @@ -11756,14 +10795,7 @@ -1 - - - - - - - @@ -11821,7 +10853,6 @@ 0 wxID_ANY X: - 0 0 @@ -11847,14 +10878,7 @@ -1 - - - - - - - @@ -11930,7 +10954,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -11941,14 +10965,7 @@ - - - - - - - @@ -12010,7 +11027,6 @@ 0 wxID_ANY unit - 0 0 @@ -12036,14 +11052,7 @@ -1 - - - - - - - @@ -12101,7 +11110,6 @@ 0 wxID_ANY Y: - 0 0 @@ -12127,14 +11135,7 @@ -1 - - - - - - - @@ -12210,7 +11211,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -12221,14 +11222,7 @@ - - - - - - - @@ -12290,7 +11284,6 @@ 0 wxID_ANY unit - 0 0 @@ -12316,14 +11309,7 @@ -1 - - - - - - - @@ -12381,7 +11367,6 @@ 0 wxID_ANY End point - 0 0 @@ -12407,14 +11392,7 @@ -1 - - - - - - - @@ -12472,7 +11450,6 @@ 0 wxID_ANY X: - 0 0 @@ -12498,14 +11475,7 @@ -1 - - - - - - - @@ -12581,7 +11551,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -12592,14 +11562,7 @@ - - - - - - - @@ -12661,7 +11624,6 @@ 0 wxID_ANY unit - 0 0 @@ -12687,14 +11649,7 @@ -1 - - - - - - - @@ -12752,7 +11707,6 @@ 0 wxID_ANY Y: - 0 0 @@ -12778,14 +11732,7 @@ -1 - - - - - - - @@ -12861,7 +11808,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -12872,14 +11819,7 @@ - - - - - - - @@ -12941,7 +11881,6 @@ 0 wxID_ANY unit - 0 0 @@ -12967,14 +11906,7 @@ -1 - - - - - - - @@ -13032,7 +11964,6 @@ 0 wxID_ANY Radius: - 0 0 @@ -13058,14 +11989,7 @@ -1 - - - - - - - @@ -13151,7 +12075,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -13162,14 +12086,7 @@ - - - - - - - @@ -13231,7 +12148,6 @@ 0 wxID_ANY unit - 0 0 @@ -13257,14 +12173,7 @@ -1 - - - - - - - @@ -13352,7 +12261,6 @@ 0 wxID_ANY Thickness: - 0 0 @@ -13378,14 +12286,7 @@ -1 - - - - - - - @@ -13482,14 +12383,7 @@ - - - - - - - @@ -13551,7 +12445,6 @@ 0 wxID_ANY unit - 0 0 @@ -13577,14 +12470,7 @@ -1 - - - - - - - @@ -13654,7 +12540,6 @@ 0 wxID_ANY Set thickness to 0 for a filled circle. - 0 0 @@ -13680,14 +12565,7 @@ -1 - - - - - - - @@ -13768,14 +12646,7 @@ - - - - - - - @@ -13856,20 +12727,13 @@ - + - - - - - - - @@ -13884,23 +12748,17 @@ - - - - - - @@ -13957,7 +12815,6 @@ 0 wxID_ANY Move vector - 0 0 @@ -13983,14 +12840,7 @@ -1 - - - - - - - @@ -14048,7 +12898,6 @@ 0 wxID_ANY X: - 0 0 @@ -14074,14 +12923,7 @@ -1 - - - - - - - @@ -14157,7 +12999,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -14168,14 +13010,7 @@ - - - - - - - @@ -14237,7 +13072,6 @@ 0 wxID_ANY unit - 0 0 @@ -14263,14 +13097,7 @@ -1 - - - - - - - @@ -14328,7 +13155,6 @@ 0 wxID_ANY Y: - 0 0 @@ -14354,14 +13180,7 @@ -1 - - - - - - - @@ -14437,7 +13256,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -14448,14 +13267,7 @@ - - - - - - - @@ -14517,7 +13329,6 @@ 0 wxID_ANY unit - 0 0 @@ -14543,14 +13354,7 @@ -1 - - - - - - - @@ -14608,7 +13412,6 @@ 0 wxID_ANY Rotation: - 0 0 @@ -14634,14 +13437,7 @@ -1 - - - - - - - @@ -14727,7 +13523,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -14738,14 +13534,7 @@ - - - - - - - @@ -14807,7 +13596,6 @@ 0 wxID_ANY deg - 0 0 @@ -14833,14 +13621,7 @@ -1 - - - - - - - @@ -14928,7 +13709,6 @@ 0 wxID_ANY Scaling factor: - 0 0 @@ -14954,14 +13734,7 @@ -1 - - - - - - - @@ -15058,14 +13831,7 @@ - - - - - - - @@ -15167,7 +13933,6 @@ 0 wxID_ANY Duplicate: - 0 0 @@ -15193,14 +13958,7 @@ -1 - - - - - - - @@ -15295,14 +14053,7 @@ - - - - - - - @@ -15398,14 +14149,7 @@ - - - - - - - @@ -15486,20 +14230,13 @@ - + - - - - - - - @@ -15514,23 +14251,17 @@ - - - - - - @@ -15642,14 +14373,7 @@ wxBORDER_SIMPLE - - - - - - - @@ -15737,7 +14461,6 @@ 1 1 - 0 0 @@ -15751,10 +14474,9 @@ 0 0 + wxID_ANY Add Corner - - 0 0 @@ -15769,9 +14491,8 @@ protected 1 - - Resizable + 1 @@ -15785,15 +14506,8 @@ - - - - - - OnButtonAdd - @@ -15850,7 +14564,6 @@ 1 1 - 0 0 @@ -15864,10 +14577,9 @@ 0 0 + wxID_ANY Delete Corner - - 0 0 @@ -15882,9 +14594,8 @@ protected 1 - - Resizable + 1 @@ -15898,15 +14609,8 @@ - - - - - - OnButtonDelete - @@ -15982,7 +14686,6 @@ 0 wxID_ANY Outline thickness: - 0 0 @@ -16008,14 +14711,7 @@ -1 - - - - - - - @@ -16091,7 +14787,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -16102,14 +14798,7 @@ - - - - - - - @@ -16171,7 +14860,6 @@ 0 wxID_ANY unit - 0 0 @@ -16197,14 +14885,7 @@ -1 - - - - - - - @@ -16297,14 +14978,7 @@ wxTAB_TRAVERSAL - - - - - - - @@ -16394,14 +15068,7 @@ - - - - - - - @@ -16459,7 +15126,6 @@ 0 wxID_ANY MyLabel - 0 0 @@ -16485,14 +15151,7 @@ -1 - - - - - - - @@ -16589,14 +15248,7 @@ - - - - - - - @@ -16682,7 +15334,6 @@ 0 wxID_ANY Coordinates are relative to anchor pad, rotated 0.0 deg. - 0 0 @@ -16708,14 +15359,7 @@ -1 - - - - - - - @@ -16773,7 +15417,6 @@ 0 wxID_ANY Set thickness to 0 for a filled polygon. - 0 0 @@ -16799,14 +15442,7 @@ -1 - - - - - - - diff --git a/pcbnew/dialogs/dialog_pad_properties_base.h b/pcbnew/dialogs/dialog_pad_properties_base.h index 58e08d9c7c..cba82c4b31 100644 --- a/pcbnew/dialogs/dialog_pad_properties_base.h +++ b/pcbnew/dialogs/dialog_pad_properties_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Apr 19 2018) +// C++ code generated with wxFormBuilder (version Dec 30 2017) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -104,7 +104,7 @@ class DIALOG_PAD_PROPERTIES_BASE : public DIALOG_SHIM TEXT_CTRL_EVAL* m_tcCornerSizeRatio; wxStaticText* m_staticTextCornerSizeRatioUnit; wxStaticText* m_cornerRadiusLabel; - TEXT_CTRL_EVAL* m_tcCornerRadius; + wxTextCtrl* m_tcCornerRadius; wxStaticText* m_cornerRadiusUnits; wxStaticText* m_holeShapeLabel; wxChoice* m_holeShapeCtrl; @@ -227,20 +227,20 @@ class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE : public DIALOG_SHIM protected: wxStaticText* m_staticTextPosStart; wxStaticText* m_startXLabel; - TEXT_CTRL_EVAL* m_startXCtrl; + wxTextCtrl* m_startXCtrl; wxStaticText* m_startXUnits; wxStaticText* m_startYLabel; - TEXT_CTRL_EVAL* m_startYCtrl; + wxTextCtrl* m_startYCtrl; wxStaticText* m_startYUnits; wxStaticText* m_staticTextPosEnd; wxStaticText* m_endXLabel; - TEXT_CTRL_EVAL* m_endXCtrl; + wxTextCtrl* m_endXCtrl; wxStaticText* m_endXUnits; wxStaticText* m_endYLabel; - TEXT_CTRL_EVAL* m_endYCtrl; + wxTextCtrl* m_endYCtrl; wxStaticText* m_endYUnits; wxStaticText* m_radiusLabel; - TEXT_CTRL_EVAL* m_radiusCtrl; + wxTextCtrl* m_radiusCtrl; wxStaticText* m_radiusUnits; wxStaticText* m_thicknessLabel; wxTextCtrl* m_thicknessCtrl; @@ -268,13 +268,13 @@ class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE : public DIALOG_SHIM protected: wxStaticText* m_staticTextMove; wxStaticText* m_xLabel; - TEXT_CTRL_EVAL* m_xCtrl; + wxTextCtrl* m_xCtrl; wxStaticText* m_xUnits; wxStaticText* m_yLabel; - TEXT_CTRL_EVAL* m_yCtrl; + wxTextCtrl* m_yCtrl; wxStaticText* m_yUnits; wxStaticText* m_rotationLabel; - TEXT_CTRL_EVAL* m_rotationCtrl; + wxTextCtrl* m_rotationCtrl; wxStaticText* m_rotationUnits; wxStaticText* m_scaleLabel; TEXT_CTRL_EVAL* m_scaleCtrl; @@ -304,7 +304,7 @@ class DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE : public DIALOG_SHIM wxBitmapButton* m_addButton; wxBitmapButton* m_deleteButton; wxStaticText* m_thicknessLabel; - TEXT_CTRL_EVAL* m_thicknessCtrl; + wxTextCtrl* m_thicknessCtrl; wxStaticText* m_thicknessUnits; wxPanel* m_panelPoly; wxStaticBitmap* m_warningIcon; diff --git a/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.cpp b/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.cpp index 581fae08ca..e95c8ab01d 100644 --- a/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.cpp +++ b/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.cpp @@ -5,8 +5,6 @@ // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#include "widgets/text_ctrl_eval.h" - #include "dialog_pns_diff_pair_dimensions_base.h" /////////////////////////////////////////////////////////////////////////// @@ -28,7 +26,7 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWi m_traceWidthLabel->Wrap( -1 ); fgSizer1->Add( m_traceWidthLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - m_traceWidthText = new TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_traceWidthText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); fgSizer1->Add( m_traceWidthText, 0, wxEXPAND|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 ); m_traceWidthUnit = new wxStaticText( this, wxID_ANY, _("u"), wxDefaultPosition, wxDefaultSize, 0 ); @@ -39,7 +37,7 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWi m_traceGapLabel->Wrap( -1 ); fgSizer1->Add( m_traceGapLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - m_traceGapText = new TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_traceGapText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); fgSizer1->Add( m_traceGapText, 0, wxEXPAND|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 ); m_traceGapUnit = new wxStaticText( this, wxID_ANY, _("u"), wxDefaultPosition, wxDefaultSize, 0 ); @@ -52,7 +50,7 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWi fgSizer1->Add( m_viaGapLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 ); - m_viaGapText = new TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_viaGapText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); m_viaGapText->Enable( false ); fgSizer1->Add( m_viaGapText, 0, wxEXPAND|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 ); diff --git a/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.fbp b/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.fbp index 4522c8ac50..a6fd23b31d 100644 --- a/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.fbp +++ b/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.fbp @@ -243,7 +243,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -500,7 +500,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -757,7 +757,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 diff --git a/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.h b/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.h index 52920dc935..f4578702cd 100644 --- a/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.h +++ b/pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.h @@ -11,8 +11,6 @@ #include #include #include -class TEXT_CTRL_EVAL; - #include "dialog_shim.h" #include #include @@ -39,13 +37,13 @@ class DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE : public DIALOG_SHIM protected: wxStaticText* m_traceWidthLabel; - TEXT_CTRL_EVAL* m_traceWidthText; + wxTextCtrl* m_traceWidthText; wxStaticText* m_traceWidthUnit; wxStaticText* m_traceGapLabel; - TEXT_CTRL_EVAL* m_traceGapText; + wxTextCtrl* m_traceGapText; wxStaticText* m_traceGapUnit; wxStaticText* m_viaGapLabel; - TEXT_CTRL_EVAL* m_viaGapText; + wxTextCtrl* m_viaGapText; wxStaticText* m_viaGapUnit; wxCheckBox* m_viaTraceGapEqual; wxStaticLine* m_staticline1; diff --git a/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.cpp b/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.cpp index c5276f8359..b00bb883f1 100644 --- a/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.cpp +++ b/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 11 2018) +// C++ code generated with wxFormBuilder (version Dec 30 2017) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -29,12 +29,12 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE( m_staticText4 = new wxStaticText( sbSizerUpper->GetStaticBox(), wxID_ANY, _("Tune from:"), wxDefaultPosition, wxDefaultSize, 0 ); m_staticText4->Wrap( -1 ); - fgSizerLenSkew->Add( m_staticText4, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 ); + fgSizerLenSkew->Add( m_staticText4, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); wxArrayString m_choicePathFromChoices; m_choicePathFrom = new wxChoice( sbSizerUpper->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choicePathFromChoices, 0 ); m_choicePathFrom->SetSelection( 0 ); - fgSizerLenSkew->Add( m_choicePathFrom, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 ); + fgSizerLenSkew->Add( m_choicePathFrom, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); fgSizerLenSkew->Add( 0, 0, 0, 0, 5 ); @@ -70,7 +70,7 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE( m_targetLengthLabel->Wrap( -1 ); fgSizerLenSkew->Add( m_targetLengthLabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - m_targetLengthText = new TEXT_CTRL_EVAL( sbSizerUpper->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_targetLengthText = new wxTextCtrl( sbSizerUpper->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); fgSizerLenSkew->Add( m_targetLengthText, 0, wxALL|wxEXPAND, 5 ); m_targetLengthUnit = new wxStaticText( sbSizerUpper->GetStaticBox(), wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); @@ -97,10 +97,10 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE( m_minAmplLabel = new wxStaticText( sbSizerLower->GetStaticBox(), wxID_ANY, _("Min amplitude (Amin):"), wxDefaultPosition, wxDefaultSize, 0 ); m_minAmplLabel->Wrap( -1 ); - fgSizer3->Add( m_minAmplLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 ); + fgSizer3->Add( m_minAmplLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 ); - m_minAmplText = new TEXT_CTRL_EVAL( sbSizerLower->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer3->Add( m_minAmplText, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 ); + m_minAmplText = new wxTextCtrl( sbSizerLower->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer3->Add( m_minAmplText, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 ); m_minAmplUnit = new wxStaticText( sbSizerLower->GetStaticBox(), wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); m_minAmplUnit->Wrap( -1 ); @@ -110,7 +110,7 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE( m_maxAmplLabel->Wrap( -1 ); fgSizer3->Add( m_maxAmplLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 ); - m_maxAmplText = new TEXT_CTRL_EVAL( sbSizerLower->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_maxAmplText = new wxTextCtrl( sbSizerLower->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); fgSizer3->Add( m_maxAmplText, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 ); m_maxAmplUnit = new wxStaticText( sbSizerLower->GetStaticBox(), wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); @@ -121,7 +121,7 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE( m_spacingLabel->Wrap( -1 ); fgSizer3->Add( m_spacingLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 ); - m_spacingText = new TEXT_CTRL_EVAL( sbSizerLower->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + m_spacingText = new wxTextCtrl( sbSizerLower->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); fgSizer3->Add( m_spacingText, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 ); m_spacingUnit = new wxStaticText( sbSizerLower->GetStaticBox(), wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); @@ -170,6 +170,7 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE( this->SetSizer( bMainSizer ); this->Layout(); + bMainSizer->Fit( this ); } DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::~DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE() diff --git a/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.fbp b/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.fbp index 25b36e1f3e..814829542f 100644 --- a/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.fbp +++ b/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.fbp @@ -1,6 +1,6 @@ - + C++ @@ -14,7 +14,6 @@ dialog_pns_length_tuning_settings_base 1000 none - 1 DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE @@ -45,7 +44,7 @@ -1,-1 DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE - 405,369 + -1,-1 wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER DIALOG_SHIM; dialog_shim.h Trace Length Tuning @@ -55,20 +54,13 @@ - + - - - - - - - @@ -83,23 +75,17 @@ - - - - - - @@ -138,7 +124,7 @@ 0 5 - wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT + wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT 0 1 @@ -169,7 +155,6 @@ 0 wxID_ANY Tune from: - 0 0 @@ -195,14 +180,7 @@ -1 - - - - - - - @@ -229,7 +207,7 @@ 5 - wxEXPAND|wxTOP|wxRIGHT|wxLEFT + wxEXPAND|wxRIGHT|wxLEFT 0 1 @@ -289,14 +267,7 @@ - - - - - - - @@ -365,7 +336,6 @@ 0 wxID_ANY Tune to: - 0 0 @@ -391,14 +361,7 @@ -1 - - - - - - - @@ -485,14 +448,7 @@ - - - - - - - @@ -561,7 +517,6 @@ 0 wxID_ANY Constraint: - 0 0 @@ -587,14 +542,7 @@ -1 - - - - - - - @@ -681,14 +629,7 @@ - - - - - - - @@ -757,7 +698,6 @@ 0 wxID_ANY Target length: - 0 0 @@ -783,14 +723,7 @@ -1 - - - - - - - @@ -866,7 +799,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -877,14 +810,7 @@ - - - - - - - @@ -946,7 +872,6 @@ 0 wxID_ANY unit - 0 0 @@ -972,14 +897,7 @@ -1 - - - - - - - @@ -1077,14 +995,7 @@ - - - - - - - @@ -1127,7 +1038,7 @@ 0 5 - wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT + wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT 0 1 @@ -1158,7 +1069,6 @@ 0 wxID_ANY Min amplitude (Amin): - 0 0 @@ -1184,14 +1094,7 @@ -1 - - - - - - - @@ -1218,7 +1121,7 @@ 5 - wxEXPAND|wxLEFT|wxRIGHT|wxTOP + wxEXPAND|wxRIGHT|wxLEFT 0 1 @@ -1267,7 +1170,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -1278,14 +1181,7 @@ - - - - - - - @@ -1347,7 +1243,6 @@ 0 wxID_ANY unit - 0 0 @@ -1373,14 +1268,7 @@ -1 - - - - - - - @@ -1438,7 +1326,6 @@ 0 wxID_ANY Max amplitude (Amax): - 0 0 @@ -1464,14 +1351,7 @@ -1 - - - - - - - @@ -1547,7 +1427,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -1558,14 +1438,7 @@ - - - - - - - @@ -1627,7 +1500,6 @@ 0 wxID_ANY unit - 0 0 @@ -1653,14 +1525,7 @@ -1 - - - - - - - @@ -1718,7 +1583,6 @@ 0 wxID_ANY Spacing (s): - 0 0 @@ -1744,14 +1608,7 @@ -1 - - - - - - - @@ -1827,7 +1684,7 @@ 1 - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + ; ; forward_declare 0 @@ -1838,14 +1695,7 @@ - - - - - - - @@ -1907,7 +1757,6 @@ 0 wxID_ANY unit - 0 0 @@ -1933,14 +1782,7 @@ -1 - - - - - - - @@ -1998,7 +1840,6 @@ 0 wxID_ANY Miter style: - 0 0 @@ -2024,14 +1865,7 @@ -1 - - - - - - - @@ -2118,14 +1952,7 @@ - - - - - - - @@ -2194,7 +2021,6 @@ 0 wxID_ANY Miter radius (r): - 0 0 @@ -2220,14 +2046,7 @@ -1 - - - - - - - @@ -2314,14 +2133,7 @@ - - - - - - - @@ -2383,7 +2195,6 @@ 0 wxID_ANY % - 0 0 @@ -2409,14 +2220,7 @@ -1 - - - - - - - diff --git a/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.h b/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.h index 7c992a1de5..dc48625c27 100644 --- a/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.h +++ b/pcbnew/dialogs/dialog_pns_length_tuning_settings_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 11 2018) +// C++ code generated with wxFormBuilder (version Dec 30 2017) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -49,17 +49,17 @@ class DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE : public DIALOG_SHIM wxStaticText* m_staticText3; wxChoice* m_constraintSource; wxStaticText* m_targetLengthLabel; - TEXT_CTRL_EVAL* m_targetLengthText; + wxTextCtrl* m_targetLengthText; wxStaticText* m_targetLengthUnit; wxStaticBitmap* m_legend; wxStaticText* m_minAmplLabel; - TEXT_CTRL_EVAL* m_minAmplText; + wxTextCtrl* m_minAmplText; wxStaticText* m_minAmplUnit; wxStaticText* m_maxAmplLabel; - TEXT_CTRL_EVAL* m_maxAmplText; + wxTextCtrl* m_maxAmplText; wxStaticText* m_maxAmplUnit; wxStaticText* m_spacingLabel; - TEXT_CTRL_EVAL* m_spacingText; + wxTextCtrl* m_spacingText; wxStaticText* m_spacingUnit; wxStaticText* m_staticText14; wxChoice* m_miterStyle; @@ -72,7 +72,7 @@ class DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE : public DIALOG_SHIM public: - DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Trace Length Tuning"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 324,397 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); + DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Trace Length Tuning"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); ~DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE(); }; diff --git a/pcbnew/dialogs/dialog_track_via_size.cpp b/pcbnew/dialogs/dialog_track_via_size.cpp index 94fa22e86f..0fa1d52ac5 100644 --- a/pcbnew/dialogs/dialog_track_via_size.cpp +++ b/pcbnew/dialogs/dialog_track_via_size.cpp @@ -36,9 +36,9 @@ const int minSize = (int)( 0.01 * IU_PER_MM ); DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE( EDA_DRAW_FRAME* aParent, BOARD_DESIGN_SETTINGS& aSettings ) : DIALOG_TRACK_VIA_SIZE_BASE( aParent ), - m_trackWidth( aParent, m_trackWidthLabel, m_trackWidthText, m_trackWidthLabel, false, minSize ), - m_viaDiameter( aParent, m_viaDiameterLabel, m_viaDiameterText, m_viaDiameterLabel, false, minSize ), - m_viaDrill( aParent, m_viaDrillLabel, m_viaDrillText, m_viaDrillLabel, false, minSize ), + m_trackWidth( aParent, m_trackWidthLabel, m_trackWidthText, m_trackWidthUnits, false, minSize ), + m_viaDiameter( aParent, m_viaDiameterLabel, m_viaDiameterText, m_viaDiameterUnits, false, minSize ), + m_viaDrill( aParent, m_viaDrillLabel, m_viaDrillText, m_viaDrillUnits, false, minSize ), m_settings( aSettings ) { m_stdButtonsOK->SetDefault(); diff --git a/pcbnew/dialogs/dialog_track_via_size_base.cpp b/pcbnew/dialogs/dialog_track_via_size_base.cpp index 394a8587da..2926360943 100644 --- a/pcbnew/dialogs/dialog_track_via_size_base.cpp +++ b/pcbnew/dialogs/dialog_track_via_size_base.cpp @@ -1,12 +1,10 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 17 2016) +// C++ code generated with wxFormBuilder (version Dec 30 2017) // http://www.wxformbuilder.org/ // -// PLEASE DO "NOT" EDIT THIS FILE! +// PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#include "widgets/text_ctrl_eval.h" - #include "dialog_track_via_size_base.h" /////////////////////////////////////////////////////////////////////////// @@ -24,39 +22,39 @@ DIALOG_TRACK_VIA_SIZE_BASE::DIALOG_TRACK_VIA_SIZE_BASE( wxWindow* parent, wxWind fgSizer1->SetFlexibleDirection( wxBOTH ); fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); - m_staticText3 = new wxStaticText( this, wxID_ANY, _("Track width:"), wxDefaultPosition, wxDefaultSize, 0 ); - m_staticText3->Wrap( -1 ); - fgSizer1->Add( m_staticText3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); - - m_trackWidthText = new TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer1->Add( m_trackWidthText, 1, wxALL|wxEXPAND, 5 ); - - m_trackWidthLabel = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); + m_trackWidthLabel = new wxStaticText( this, wxID_ANY, _("Track width:"), wxDefaultPosition, wxDefaultSize, 0 ); m_trackWidthLabel->Wrap( -1 ); fgSizer1->Add( m_trackWidthLabel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); - m_staticText5 = new wxStaticText( this, wxID_ANY, _("Via diameter:"), wxDefaultPosition, wxDefaultSize, 0 ); - m_staticText5->Wrap( -1 ); - fgSizer1->Add( m_staticText5, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); + m_trackWidthText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer1->Add( m_trackWidthText, 1, wxALL|wxEXPAND, 5 ); - m_viaDiameterText = new TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer1->Add( m_viaDiameterText, 1, wxALL|wxEXPAND, 5 ); + m_trackWidthUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); + m_trackWidthUnits->Wrap( -1 ); + fgSizer1->Add( m_trackWidthUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); - m_viaDiameterLabel = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); + m_viaDiameterLabel = new wxStaticText( this, wxID_ANY, _("Via diameter:"), wxDefaultPosition, wxDefaultSize, 0 ); m_viaDiameterLabel->Wrap( -1 ); fgSizer1->Add( m_viaDiameterLabel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); - m_staticText7 = new wxStaticText( this, wxID_ANY, _("Via drill:"), wxDefaultPosition, wxDefaultSize, 0 ); - m_staticText7->Wrap( -1 ); - fgSizer1->Add( m_staticText7, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); + m_viaDiameterText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer1->Add( m_viaDiameterText, 1, wxALL|wxEXPAND, 5 ); - m_viaDrillText = new TEXT_CTRL_EVAL( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); - fgSizer1->Add( m_viaDrillText, 1, wxALL|wxEXPAND, 5 ); + m_viaDiameterUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); + m_viaDiameterUnits->Wrap( -1 ); + fgSizer1->Add( m_viaDiameterUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); - m_viaDrillLabel = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); + m_viaDrillLabel = new wxStaticText( this, wxID_ANY, _("Via drill:"), wxDefaultPosition, wxDefaultSize, 0 ); m_viaDrillLabel->Wrap( -1 ); fgSizer1->Add( m_viaDrillLabel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); + m_viaDrillText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); + fgSizer1->Add( m_viaDrillText, 1, wxALL|wxEXPAND, 5 ); + + m_viaDrillUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 ); + m_viaDrillUnits->Wrap( -1 ); + fgSizer1->Add( m_viaDrillUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); + bSizes->Add( fgSizer1, 1, wxEXPAND|wxALL, 5 ); diff --git a/pcbnew/dialogs/dialog_track_via_size_base.fbp b/pcbnew/dialogs/dialog_track_via_size_base.fbp index e65b58c027..ab12c3f064 100644 --- a/pcbnew/dialogs/dialog_track_via_size_base.fbp +++ b/pcbnew/dialogs/dialog_track_via_size_base.fbp @@ -1,8 +1,8 @@ - + - + C++ 1 source_name @@ -16,9 +16,9 @@ none 1 DIALOG_TRACK_VIA_SIZE_BASE - + . - + 1 1 1 @@ -29,67 +29,67 @@ 0 wxAUI_MGR_DEFAULT - + wxBOTH - + 1 1 impl_virtual - - - + + + 0 wxID_ANY - + -1,-1 DIALOG_TRACK_VIA_SIZE_BASE - + -1,-1 wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER DIALOG_SHIM; dialog_shim.h Track Width and Via Size - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + bSizes wxVERTICAL none @@ -101,9 +101,9 @@ 3 wxBOTH 1 - + 0 - + fgSizer1 wxFLEX_GROWMODE_SPECIFIED none @@ -118,78 +118,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY Track width: - + 0 - - + + 0 - + 1 - m_staticText3 + m_trackWidthLabel 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -201,86 +201,86 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - + 0 - + 0 - + 1 m_trackWidthText 1 - - + + protected 1 - + Resizable 1 - - - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + + + ; ; forward_declare 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -292,78 +292,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY unit - + 0 - - + + 0 - + 1 - m_trackWidthLabel + m_trackWidthUnits 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -375,78 +375,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY Via diameter: - + 0 - - + + 0 - + 1 - m_staticText5 + m_viaDiameterLabel 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -458,86 +458,86 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - + 0 - + 0 - + 1 m_viaDiameterText 1 - - + + protected 1 - + Resizable 1 - - - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + + + ; ; forward_declare 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -549,78 +549,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY unit - + 0 - - + + 0 - + 1 - m_viaDiameterLabel + m_viaDiameterUnits 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -632,78 +632,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY Via drill: - + 0 - - + + 0 - + 1 - m_staticText7 + m_viaDrillLabel 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -715,86 +715,86 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - + 0 - + 0 - + 1 m_viaDrillText 1 - - + + protected 1 - + Resizable 1 - - - TEXT_CTRL_EVAL; widgets/text_ctrl_eval.h + + + ; ; forward_declare 0 - - + + wxFILTER_NONE wxDefaultValidator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -806,78 +806,78 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY unit - + 0 - - + + 0 - + 1 - m_viaDrillLabel + m_viaDrillUnits 1 - - + + protected 1 - + Resizable 1 - - - + + + 0 - - - - + + + + -1 - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -891,76 +891,76 @@ 1 1 1 - - - - - - - + + + + + + + 1 0 1 - + 1 0 Dock 0 Left 1 - + 1 - + 0 0 wxID_ANY - + 0 - - + + 0 - + 1 m_staticline1 1 - - + + protected 1 - + Resizable 1 - + wxLI_HORIZONTAL - + 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -976,17 +976,17 @@ 1 0 0 - + m_stdButtons protected - - - - - - - - + + + + + + + + diff --git a/pcbnew/dialogs/dialog_track_via_size_base.h b/pcbnew/dialogs/dialog_track_via_size_base.h index 65a2581645..30f907a2fe 100644 --- a/pcbnew/dialogs/dialog_track_via_size_base.h +++ b/pcbnew/dialogs/dialog_track_via_size_base.h @@ -1,8 +1,8 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jul 17 2016) +// C++ code generated with wxFormBuilder (version Dec 30 2017) // http://www.wxformbuilder.org/ // -// PLEASE DO "NOT" EDIT THIS FILE! +// PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #ifndef __DIALOG_TRACK_VIA_SIZE_BASE_H__ @@ -11,9 +11,6 @@ #include #include #include -class DIALOG_SHIM; -class TEXT_CTRL_EVAL; - #include "dialog_shim.h" #include #include @@ -38,15 +35,15 @@ class DIALOG_TRACK_VIA_SIZE_BASE : public DIALOG_SHIM private: protected: - wxStaticText* m_staticText3; - TEXT_CTRL_EVAL* m_trackWidthText; wxStaticText* m_trackWidthLabel; - wxStaticText* m_staticText5; - TEXT_CTRL_EVAL* m_viaDiameterText; + wxTextCtrl* m_trackWidthText; + wxStaticText* m_trackWidthUnits; wxStaticText* m_viaDiameterLabel; - wxStaticText* m_staticText7; - TEXT_CTRL_EVAL* m_viaDrillText; + wxTextCtrl* m_viaDiameterText; + wxStaticText* m_viaDiameterUnits; wxStaticText* m_viaDrillLabel; + wxTextCtrl* m_viaDrillText; + wxStaticText* m_viaDrillUnits; wxStaticLine* m_staticline1; wxStdDialogButtonSizer* m_stdButtons; wxButton* m_stdButtonsOK;