Need an extra pixel when divider present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
463c2e5bc7
commit
378c9833b7
@ -400,6 +400,9 @@ wxSize wxToolBar::DoGetBestSize() const
|
|||||||
sizeBest.y = size.cy;
|
sizeBest.y = size.cy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!IsVertical() && !(GetWindowStyle() & wxTB_NODIVIDER))
|
||||||
|
sizeBest.y += 1;
|
||||||
|
|
||||||
CacheBestSize(sizeBest);
|
CacheBestSize(sizeBest);
|
||||||
|
|
||||||
return sizeBest;
|
return sizeBest;
|
||||||
|
Loading…
Reference in New Issue
Block a user