src/Element/TaskBarIcon.php
public function init()
    {
        $this->element = new RawTaskBarIcon;

        $resourcesPath = $this->collection->getContainer()->resourcesPath();

        $icon = new wxIcon($resourcesPath.'/'.$this->icon, wxBITMAP_TYPE_ANY);

        $this->element->SetIcon($icon, $this->tip);
    }
public function init()
    {
        $this->element = new RawTaskBarIcon;

        $resourcesPath = $this->collection->getContainer()->resourcesPath();

        $icon = new wxIcon($resourcesPath.'/'.$this->icon, wxBITMAP_TYPE_ANY);

        $this->element->SetIcon($icon, $this->tip);
    }
Initialise the object

@return void