git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30736
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// maybe an old (< 0x400) Windows version? try to approximate the
// toolbar size ourselves
sizeBest = GetToolSize();
// maybe an old (< 0x400) Windows version? try to approximate the
// toolbar size ourselves
sizeBest = GetToolSize();
+ sizeBest.y += 2 * ::GetSystemMetrics(SM_CYBORDER); // Add borders
sizeBest.x *= GetToolsCount();
// reverse horz and vertical components if necessary
sizeBest.x *= GetToolsCount();
// reverse horz and vertical components if necessary