mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Updated a few GCC issues, and case-sensitivity of filenames.
I had to rename the export function in Apprentice.cpp since "export" is a reserved word according to the C++ standard. I don't know whether GCC supports it yet, but it certainly complains. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@302 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -49,7 +49,11 @@ NewSetWindow::NewSetWindow(Window* parent)
|
||||
SetSize(630,-1);
|
||||
// init lists
|
||||
game_list->showData<Game>();
|
||||
try {
|
||||
game_list->select(settings.default_game);
|
||||
} catch (FileNotFoundError e) {
|
||||
handle_error(e);
|
||||
}
|
||||
UpdateWindowUI(wxUPDATE_UI_RECURSE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user