mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
init sockets in main function, otherwise the installer window doesn't work if updates were not checked first
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1469 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include <wx/fs_inet.h>
|
||||
#include <wx/wfstream.h>
|
||||
#include <wx/txtstrm.h>
|
||||
#include <wx/socket.h>
|
||||
|
||||
// ----------------------------------------------------------------------------- : Main function/class
|
||||
|
||||
@@ -82,6 +83,7 @@ int MSE::OnRun() {
|
||||
#endif
|
||||
wxInitAllImageHandlers();
|
||||
wxFileSystem::AddHandler(new wxInternetFSHandler); // needed for update checker
|
||||
wxSocketBase::Initialize();
|
||||
init_script_variables();
|
||||
init_file_formats();
|
||||
cli.init();
|
||||
|
||||
Reference in New Issue
Block a user