aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/AppendGameDialog.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_tab/AppendGameDialog.hpp')
-rw-r--r--src/base_tab/AppendGameDialog.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base_tab/AppendGameDialog.hpp b/src/base_tab/AppendGameDialog.hpp
index fba8078..648c798 100644
--- a/src/base_tab/AppendGameDialog.hpp
+++ b/src/base_tab/AppendGameDialog.hpp
@@ -1,11 +1,12 @@
#include "gamebase/GameBase.hpp"
class AppendGameDialog : public DialogAppendGame {
- GameBase *base;
+ GameBase *base; // Should not be destroy
std::vector<TabInfos *> tinfos;
public:
AppendGameDialog(wxWindow *parent, GameBase *base);
void OnCancel(wxCommandEvent &event);
void OnImport(wxCommandEvent &event);
+ void OnClose(wxCloseEvent &e);
}; \ No newline at end of file