87 if( curRow < 0 || m_bomPresetsGrid->GetNumberRows() <= curRow )
99 if( curRow < 0 || m_bomFmtPresetsGrid->GetNumberRows() <= curRow )
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap)
Class PANEL_BOM_PRESETS_BASE.
STD_BITMAP_BUTTON * m_btnDeleteBomPreset
STD_BITMAP_BUTTON * m_btnDeleteBomFmtPreset
WX_GRID * m_bomFmtPresetsGrid
WX_GRID * m_bomPresetsGrid
std::vector< BOM_FMT_PRESET > m_bomFmtPresets
std::vector< BOM_PRESET > m_bomPresets
void OnDeleteBomFmtPreset(wxCommandEvent &event) override
bool TransferDataFromWindow() override
bool TransferDataToWindow() override
void ImportBomFmtPresetsFrom(SCHEMATIC_SETTINGS &aSettings)
PANEL_BOM_PRESETS(wxWindow *aWindow, SCHEMATIC_SETTINGS &aSettings)
void ImportBomPresetsFrom(SCHEMATIC_SETTINGS &aSettings)
SCHEMATIC_SETTINGS & m_settings
void OnDeleteBomPreset(wxCommandEvent &event) override
These are loaded from Eeschema settings but then overwritten by the project settings.
std::vector< BOM_PRESET > m_BomPresets
std::vector< BOM_FMT_PRESET > m_BomFmtPresets
void ClearRows()
wxWidgets recently added an ASSERT which fires if the position is greater than or equal to the number...