diff --git a/src/gui/update_checker.cpp b/src/gui/update_checker.cpp index a921d12c..a6c6b774 100644 --- a/src/gui/update_checker.cpp +++ b/src/gui/update_checker.cpp @@ -92,7 +92,7 @@ bool update_available() { class CheckUpdateThread : public wxThread { public: void* Entry() override { - Work(); +// Work(); return 0; } diff --git a/src/util/io/get_member.cpp b/src/util/io/get_member.cpp index eba0c8ad..f76e6560 100644 --- a/src/util/io/get_member.cpp +++ b/src/util/io/get_member.cpp @@ -27,6 +27,7 @@ template <> void GetDefaultMember::handle(const tribool& v) { value = to_sc template <> void GetDefaultMember::handle(const Vector2D& v) { value = to_script(String::Format(_("(%.10lf,%.10lf)"), v.x, v.y)); } template <> void GetDefaultMember::handle(const Color& v) { value = to_script(v); } template <> void GetDefaultMember::handle(const wxDateTime& v) { value = to_script(v); } +template <> void GetDefaultMember::handle(const unsigned long& v) { value = to_script((int)v); } void GetDefaultMember::handle(const ScriptValueP& v) { value = v; } void GetDefaultMember::handle(const ScriptP& v) { value = v; }