From d022fa4e451c36ffa944beb301d4d21909224341 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 27 Apr 2012 11:39:52 +0000 Subject: [PATCH] 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 --- src/msw/anybutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/anybutton.cpp b/src/msw/anybutton.cpp index 6251a69c5e..03a9d7039f 100644 --- a/src/msw/anybutton.cpp +++ b/src/msw/anybutton.cpp @@ -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 { -- 2.45.2