Open sets in a new window.

TODO: don't allow the same set file to be opened twice, fork a window for it instead

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1005 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-06-28 13:24:45 +00:00
parent 16dcf5bf42
commit ba2665eb49
4 changed files with 22 additions and 6 deletions
+3
View File
@@ -66,6 +66,9 @@ class SetWindow : public wxFrame, public SetView {
/// Is this the only window that has this set?
bool isOnlyWithSet();
/// Switch this window to the new set, or open another window for it (depending on the settings)
void switchSet(const SetP& new_set);
// --------------------------------------------------- : Action related
protected:
/// We want to respond to set changes