CheckBox* CheckBox::Create(Window *parent, float x, float y, const string_t &text) { CheckBox *res = new CheckBox(parent); res->Move(x, y); res->SetText(text); return res; }