15PANEL_BOM_PRESETS_BASE::PANEL_BOM_PRESETS_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
17 wxBoxSizer* bPanelSizer;
18 bPanelSizer =
new wxBoxSizer( wxVERTICAL );
20 m_bomTitle =
new wxStaticText(
this, wxID_ANY,
_(
"Bill of Materials Presets:"), wxDefaultPosition, wxDefaultSize, 0 );
22 bPanelSizer->Add(
m_bomTitle, 0, wxTOP|wxLEFT|wxEXPAND, 8 );
25 bPanelSizer->Add( 0, 3, 0, wxEXPAND, 5 );
60 m_bomFmtTitle =
new wxStaticText(
this, wxID_ANY,
_(
"Bill of Materials Formatting Presets:"), wxDefaultPosition, wxDefaultSize, 0 );
62 bPanelSizer->Add(
m_bomFmtTitle, 0, wxEXPAND|wxLEFT|wxTOP, 8 );
65 bPanelSizer->Add( 0, 3, 0, wxEXPAND, 5 );
101 this->SetSizer( bPanelSizer );
103 bPanelSizer->Fit(
this );
wxStaticText * m_bomFmtTitle
PANEL_BOM_PRESETS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
~PANEL_BOM_PRESETS_BASE()
virtual void OnDeleteBomFmtPreset(wxCommandEvent &event)
virtual void OnDeleteBomPreset(wxCommandEvent &event)
STD_BITMAP_BUTTON * m_btnDeleteBomPreset
STD_BITMAP_BUTTON * m_btnDeleteBomFmtPreset
WX_GRID * m_bomFmtPresetsGrid
WX_GRID * m_bomPresetsGrid
wxStaticText * m_bomTitle
virtual void OnSizeGrid(wxSizeEvent &event)
void SetColLabelSize(int aHeight)
Hide wxGrid's SetColLabelSize() method with one which makes sure the size is tall enough for the syst...