示例#1
0
func NewVariantString(str string) Variant {
	v := &variant{}
	v.bindWxPtr(C.wxVariant_NewString(cString(&str)), true)
	return v
}
示例#2
0
文件: variant.go 项目: nzlov/wxgo
func NewVariantString(str string) Variant {
	return globalObjectTable.bindObject(C.wxVariant_NewString(cString(&str)), true).(Variant)
}