src/Element/TextBox.php
public function init()
    {
        $id = $this->collection->getTrueId($this->id);

        $this->element = new wxTextCtrl($this->parent->getParent()->getRaw(), $id, $this->value or wxEmptyString, $this->getPosition(), $this->getSize(), $this->buildOptions());

        $this->bindEvents();

        $this->parent->getRaw()->Add($this->element);
    }
public function init()
    {
        $id = $this->collection->getTrueId($this->id);

        $this->element = new wxTextCtrl($this->parent->getParent()->getRaw(), $id, $this->value or wxEmptyString, $this->getPosition(), $this->getSize(), $this->buildOptions());

        $this->bindEvents();

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

@return void