Esempio n. 1
0
DLL_LOCAL VALUE _setDefaultValue(VALUE self,VALUE val)
{
    rb_check_frozen(self);
    wxVariant var = unwrapVariant(val,_self->GetValueType());
    _self->SetDefaultValue(var);
    return val;
}
Esempio n. 2
0
DLL_LOCAL VALUE _setValue(VALUE self,VALUE val)
{
	_self->SetValue(unwrapVariant(val,
			_self->GetModel()->GetColumnType(_self->GetColumn())));
	return val;
}
Esempio n. 3
0
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;
}
Esempio n. 4
0
VALUE _setAttribute(VALUE self,VALUE name,VALUE val)
{
    _self->SetAttribute(wrap<wxString>(name),unwrapVariant(val,_self->GetAttribute(wrap<wxString>(name)).GetType()));
    return val;
}