src/Element/Label.php
public function init()
    {
        $this->element = new wxStaticText($this->parent->getParent()->getRaw(), wxID_ANY, $this->text ?: $this->value, $this->getPosition(), $this->getSize());

        $this->parent->getRaw()->Add($this->element);
    }
public function init()
    {
        $this->element = new wxStaticText($this->parent->getParent()->getRaw(), wxID_ANY, $this->text ?: $this->value, $this->getPosition(), $this->getSize());

        $this->parent->getRaw()->Add($this->element);
    }
Initialise the object

@return void