]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/bmpbuttn.cpp
[ 1508778 ] Fix for wxOwnerDrawnComboBox list selection rendering.
[wxWidgets.git] / src / msw / bmpbuttn.cpp
index c47f2abc913d2b80447fec1d1137a0e58970bc52..6dfee11693c97d43c92e49f186b6f81bc5e92645 100644 (file)
@@ -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;
         }