#include "BaseImportTab.hpp" BaseImportTab::BaseImportTab(wxFrame *parent): TabBase_TabImport(parent) { for (TabInfos *i : wxGetApp().ListTabInfos()) { if (i->type == TabInfos::GAME || i->type == TabInfos::BASE) { wxWindow *win = dynamic_cast(i); opened_game_list->Append(win->GetLabel(),i); opened_game_list->SetSelection(0); } } }