diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index 181c843546..6531b498dc 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -401,10 +401,6 @@ void MyFrame::PopulateToolbar(wxToolBarBase* toolBar) } } - // this call is actually unnecessary as the toolbar will adjust its tools - // size to fit the biggest icon used anyhow but it doesn't hurt neither - toolBar->SetToolBitmapSize(wxSize(w, h)); - toolBar->AddTool(wxID_NEW, "New", toolBarBitmaps[Tool_new], wxNullBitmap, wxITEM_DROPDOWN, "New file", "This is help for new file tool");