mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
add #ifdefs for OSX-specific code
This commit is contained in:
@@ -27,7 +27,9 @@ 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); }
|
||||
#ifdef __APPLE__
|
||||
template <> void GetDefaultMember::handle(const unsigned long& v) { value = to_script((int)v); }
|
||||
#endif
|
||||
void GetDefaultMember::handle(const ScriptValueP& v) { value = v; }
|
||||
void GetDefaultMember::handle(const ScriptP& v) { value = v; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user