internal TextBox GetCaptionWidget()
{
if (null == mCaption)
{
Instance inst = ICall_getCaptionWidget(mInstance.Ptr);
if (inst.IsValid)
{
int temp = mInstance.Ptr.ToInt32() + inst.Ptr.ToInt32();
string name = mName + "_" + Widget.GetName(inst.Ptr) + "_" + temp.ToString();
mCaption = new TextBox(inst, name, mParentLayout);
mParentLayout.AddWidget(mCaption);
}
}
return mCaption;
}