40 std::function<
WX_GRID*( wxWindow* )> findGrid =
41 [&]( wxWindow* win ) ->
WX_GRID*
46 for( wxWindow* child : win->GetChildren() )
55 return findGrid(
this );
66 static void AddTable( wxAuiNotebook* aNotebook,
const wxString& aTitle,
bool aClosable );
This abstract base class mixes any object derived from #LIB_TABLE into wxGridTableBase so the result ...
static void AddTable(wxAuiNotebook *aNotebook, const wxString &aTitle, bool aClosable)
void onGridCellChanging(wxGridEvent &aEvent)
bool GetCanClose() override
LIB_TABLE_NOTEBOOK_PANEL(wxWindow *parent, wxWindowID id=wxID_ANY)
~LIB_TABLE_NOTEBOOK_PANEL() override
LIB_TABLE_GRID_DATA_MODEL * GetModel()
PANEL_NOTEBOOK_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)