Rename function in Footprint wizard to prevent impoper override
The ReloadFootprint function now exists in the base class with 1 argument, but this frame already had a similar function with no arguments. Rename this one to RegenerateFootprint to prevent warnings.
This commit is contained in:
parent
28075e6efe
commit
1c138b4f3e
|
@ -126,9 +126,9 @@ private:
|
||||||
void SelectFootprintWizard();
|
void SelectFootprintWizard();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reload the current footprint.
|
* Regenerate the current footprint.
|
||||||
*/
|
*/
|
||||||
void ReloadFootprint();
|
void RegenerateFootprint();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display the message generated by the python build footprint script.
|
* Display the message generated by the python build footprint script.
|
||||||
|
|
|
@ -92,7 +92,7 @@ void FOOTPRINT_WIZARD_FRAME::DisplayWizardInfos()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void FOOTPRINT_WIZARD_FRAME::ReloadFootprint()
|
void FOOTPRINT_WIZARD_FRAME::RegenerateFootprint()
|
||||||
{
|
{
|
||||||
FOOTPRINT_WIZARD* footprintWizard = GetMyWizard();
|
FOOTPRINT_WIZARD* footprintWizard = GetMyWizard();
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ void FOOTPRINT_WIZARD_FRAME::SelectFootprintWizard()
|
||||||
m_wizardDescription.Empty();
|
m_wizardDescription.Empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
ReloadFootprint();
|
RegenerateFootprint();
|
||||||
Zoom_Automatique( false );
|
Zoom_Automatique( false );
|
||||||
DisplayWizardInfos();
|
DisplayWizardInfos();
|
||||||
ReCreatePageList();
|
ReCreatePageList();
|
||||||
|
@ -208,7 +208,7 @@ void FOOTPRINT_WIZARD_FRAME::DefaultParameters( wxCommandEvent& event )
|
||||||
|
|
||||||
// Reload
|
// Reload
|
||||||
ReCreateParameterList();
|
ReCreateParameterList();
|
||||||
ReloadFootprint();
|
RegenerateFootprint();
|
||||||
DisplayWizardInfos();
|
DisplayWizardInfos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -255,7 +255,7 @@ void FOOTPRINT_WIZARD_FRAME::ParametersUpdated( wxGridEvent& event )
|
||||||
if( !res.IsEmpty() )
|
if( !res.IsEmpty() )
|
||||||
wxMessageBox( res );
|
wxMessageBox( res );
|
||||||
|
|
||||||
ReloadFootprint();
|
RegenerateFootprint();
|
||||||
DisplayWizardInfos();
|
DisplayWizardInfos();
|
||||||
|
|
||||||
// The python script can have modified some other parameters.
|
// The python script can have modified some other parameters.
|
||||||
|
|
Loading…
Reference in New Issue