Don't add margins for buttons with text and images by default in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 Feb 2011 22:12:04 +0000 (22:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 Feb 2011 22:12:04 +0000 (22:12 +0000)
commitc3d652aeb9db1ada2badcd616fbfcdf802bd9ec2
tree5b5ecbff9bf76d7dbe39abf4e1e3119af176c489
parent65034d07ed264018024570904f6ad18312339a3f
Don't add margins for buttons with text and images by default in wxMSW.

For some reason wxXPButtonImageData added (big) margins around the button by
default resulting in too much padding. Simply remove these margins to make it
behave similarly to wxODButtonImageData.

See #12924.

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