diff options
Diffstat (limited to 'src/base_tab/AppendGameDialog.cpp')
| -rw-r--r-- | src/base_tab/AppendGameDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base_tab/AppendGameDialog.cpp b/src/base_tab/AppendGameDialog.cpp index 52a6f3d..260ba90 100644 --- a/src/base_tab/AppendGameDialog.cpp +++ b/src/base_tab/AppendGameDialog.cpp @@ -5,7 +5,7 @@ AppendGameDialog::AppendGameDialog(wxWindow *parent, std::shared_ptr<GameBase> base) : DialogAppendGame(parent), base(base) { - for (TabInfos *i : MAINWIN->ListTabInfos()) { + for (TabInfos *i : wxGetApp().ListTabInfos()) { if (i->type == TabInfos::GAME || i->type == TabInfos::BASE) { wxWindow *win = dynamic_cast<wxWindow *>(i); game_list->Append(win->GetLabel()); |
