Restored the exact-fit-button horizontal margin calculation from 2.8 since it was too cramped.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2012-04-27 11:39:52 +00:00
parent 8746b63ff7
commit d022fa4e45

View File

@@ -395,7 +395,7 @@ wxSize wxMSWButton::GetFittingSize(wxWindow *win,
{
// We still need some margin or the text would be overwritten, just
// make it as small as possible.
sizeBtn.x += (3*win->GetCharWidth())/2;
sizeBtn.x += (3*win->GetCharWidth());
}
else
{