From 1d39a12a30d96f29e7f085d72294d1dd66cf534a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 19 Jun 2006 08:24:39 +0000 Subject: [PATCH] more tweaks to the margins: don't need them to be so big in vertical direction git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/bmpbuttn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/bmpbuttn.cpp b/src/msw/bmpbuttn.cpp index c47f2abc91..6dfee11693 100644 --- a/src/msw/bmpbuttn.cpp +++ b/src/msw/bmpbuttn.cpp @@ -608,7 +608,7 @@ wxSize wxBitmapButton::DoGetBestSize() const wxSize best(m_bmpNormal.GetWidth() + margins.cxLeftWidth + margins.cxRightWidth + 5, m_bmpNormal.GetHeight() + - margins.cyTopHeight + margins.cyBottomHeight + 5); + margins.cyTopHeight + margins.cyBottomHeight + 2); CacheBestSize(best); return best; } -- 2.50.0