55 if(
PCBNEW_SETTINGS* cfg = GetAppSettings<PCBNEW_SETTINGS>(
"pcbnew" ) )
56 SetSize( wxSize( cfg->m_FootprintWizardList.width, cfg->m_FootprintWizardList.height ) );
69 if(
PCBNEW_SETTINGS* cfg = GetAppSettings<PCBNEW_SETTINGS>(
"pcbnew" ) )
71 cfg->m_FootprintWizardList.width = GetSize().x;
72 cfg->m_FootprintWizardList.height = GetSize().y;
101 for(
int ii = 0; ii < n_wizards; ii++ )
103 wxString num = wxString::Format( wxT(
"%d" ), ii+1 );
138 if( message.IsEmpty() )
140 m_tcNotLoaded->SetValue(
_(
"All footprint generator scripts were loaded" ) );
159 int click_row =
event.GetRow();
170 wxPostEvent(
this, wxCommandEvent( wxEVT_COMMAND_BUTTON_CLICKED, wxID_OK ) );
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
void pcbnewGetUnloadableScriptNames(wxString &aNames)
Collect the list of python scripts which could not be loaded.
void pcbnewGetScriptsSearchPaths(wxString &aNames)
Collect the list of paths where python scripts are searched.
void pcbnewGetWizardsBackTrace(wxString &aTrace)
Return the backtrace of errors (if any) when wizard python scripts are loaded.