Init member variables.

This commit is contained in:
Jeff Young 2022-07-31 00:30:12 +01:00
parent f2f04b1d20
commit 927bc8141b
4 changed files with 12 additions and 5 deletions

View File

@ -188,7 +188,9 @@ DIALOG_COPPER_ZONE::DIALOG_COPPER_ZONE( PCB_BASE_FRAME* aParent, ZONE_SETTINGS*
m_islandThreshold( aParent, m_islandThresholdLabel, m_tcIslandThreshold,
m_islandThresholdUnits ),
m_hideAutoGeneratedNets{ false },
m_convertSettings( aConvertSettings )
m_convertSettings( aConvertSettings ),
m_cbIgnoreLineWidths( nullptr ),
m_cbDeleteOriginals( nullptr )
{
m_Parent = aParent;

View File

@ -88,7 +88,9 @@ DIALOG_NON_COPPER_ZONES_EDITOR::DIALOG_NON_COPPER_ZONES_EDITOR( PCB_BASE_FRAME*
m_hatchGap( aParent, m_hatchGapLabel, m_hatchGapCtrl, m_hatchGapUnits ),
m_cornerSmoothingType( ZONE_SETTINGS::SMOOTHING_UNDEFINED ),
m_cornerRadius( aParent, m_cornerRadiusLabel, m_cornerRadiusCtrl, m_cornerRadiusUnits ),
m_convertSettings( aConvertSettings )
m_convertSettings( aConvertSettings ),
m_cbIgnoreLineWidths( nullptr ),
m_cbDeleteOriginals( nullptr )
{
m_parent = aParent;

View File

@ -78,8 +78,9 @@ DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES( PCB_BASE_FRAME* aParen
DIALOG_RULE_AREA_PROPERTIES_BASE( aParent ),
m_outlineHatchPitch( aParent, m_stBorderHatchPitchText,
m_outlineHatchPitchCtrl, m_outlineHatchUnits ),
m_convertSettings( aConvertSettings )
m_convertSettings( aConvertSettings ),
m_cbIgnoreLineWidths( nullptr ),
m_cbDeleteOriginals( nullptr )
{
m_parent = aParent;

View File

@ -56,7 +56,9 @@ public:
CONVERT_SETTINGS_DIALOG( wxWindow* aParent, CONVERT_SETTINGS* aSettings ) :
DIALOG_SHIM( aParent, wxID_ANY, _( "Conversion Settings" ), wxDefaultPosition,
wxDefaultSize, wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER ),
m_settings( aSettings )
m_settings( aSettings ),
m_cbIgnoreLineWidths( nullptr ),
m_cbDeleteOriginals( nullptr )
{
wxBoxSizer* mainSizer = new wxBoxSizer( wxVERTICAL );
wxBoxSizer* topSizer = new wxBoxSizer( wxVERTICAL );