restore the default bitmap icons size to 16*15, making them larger if necessary is enough and doesn't result in having ugly 16*16 bitmaps in a 24*24 button rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -424,6 +424,8 @@ 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, _T("New"),
|
||||
|
Reference in New Issue
Block a user