DLL_LOCAL VALUE _setDefaultValue(VALUE self,VALUE val) { rb_check_frozen(self); wxVariant var = unwrapVariant(val,_self->GetValueType()); _self->SetDefaultValue(var); return val; }
DLL_LOCAL VALUE _setValue(VALUE self,VALUE val) { _self->SetValue(unwrapVariant(val, _self->GetModel()->GetColumnType(_self->GetColumn()))); return val; }
DLL_LOCAL VALUE _setAttribute(VALUE self,VALUE name,VALUE val) { rb_check_frozen(self); _self->SetAttribute(unwrap<wxString>(name),unwrapVariant(val,_self->GetAttribute(unwrap<wxString>(name)).GetType())); return val; }
VALUE _setAttribute(VALUE self,VALUE name,VALUE val) { _self->SetAttribute(wrap<wxString>(name),unwrapVariant(val,_self->GetAttribute(wrap<wxString>(name)).GetType())); return val; }