//Creates a label and returns a pointer to it. cControls retains ownership, and the label will be destroyed in cControls' destructor.
cLabel *cControls::CreateLabel()
{
cLabel *newLabel = new cLabel(); //Should be replaced with smart pointers in the future.
this->AddControl(newLabel);
return newLabel;
}