more tweaks to bitmap button borders:
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jun 2006 17:22:13 +0000 (17:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 22 Jun 2006 17:22:13 +0000 (17:22 +0000)
commitd381e983ebdc0e3e9b1980c3a3420940476a0e1e
tree54f56e57b698b898bfe8d9c5acf70d0b43c612ee
parent0a292d0de4df0f17b2716f2bab9026f34b568652
more tweaks to bitmap button borders:

- we don't seem to need the extra +2 after Jamie's fix for the min size
- we shouldn't use margins at all for buttons without border, this looks bad
- refactored the code slightly to avoid some duplication

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/bmpbuttn.cpp