using wxWidgets 2.8.0 stable version
no matching function for call to `wxToolBar::AddTool(int, const char[1], wxBitmap*&, const char[1], wxItemKind)'
Code: Select all
...
wxBitmap* icoNew = new wxBitmap(new_xpm);
icoNew->Create(16, 16, 32);
wxToolBar* tbrEdit = CreateToolBar();
tbrEdit->SetToolBitmapSize(wxSize(16, 16));
tbrEdit->AddTool(0, wxT(""), icoNew, wxT(""), wxITEM_NORMAL);
tbrEdit->Realize();
SetToolBar(tbrEdit);
...