From: Vadim Zeitlin Date: Mon, 19 Jun 2006 08:24:39 +0000 (+0000) Subject: more tweaks to the margins: don't need them to be so big in vertical direction X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1d39a12a30d96f29e7f085d72294d1dd66cf534a?ds=inline 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 --- 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; }