Implemented NewSetWindow, added events to GalleryList

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@48 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-20 20:02:30 +00:00
parent 77d255ee8e
commit 46cf4dbb64
17 changed files with 259 additions and 25 deletions
+4 -5
View File
@@ -366,10 +366,9 @@ void SetWindow::onUpdateUI(wxUpdateUIEvent& ev) {
void SetWindow::onFileNew(wxCommandEvent&) {
if (!askSaveAndContinue()) return;
// NewWindow wnd(this);
// wnd.showModal();
// associate new set
// if (wnd.set) set = wnd.set;
// new set?
SetP new_set = new_set_window(this);
if (new_set) set = new_set;
}
void SetWindow::onFileOpen(wxCommandEvent&) {
@@ -451,7 +450,7 @@ void SetWindow::onFilePrintPreview(wxCommandEvent&) {
}
void SetWindow::onFileRecent(wxCommandEvent& ev) {
// setSet(importSet(settings.recentSets.at(ev.GetId() - ID_FILE_RECENT)));
// setSet(import_set(settings.recentSets.at(ev.GetId() - ID_FILE_RECENT)));
}
void SetWindow::onFileExit(wxCommandEvent&) {