Fix best size calculation for buttons with bitmaps in wxMSW.
Add the bitmap margins to the bitmap size, not the total button size. This fixes the buttons becoming unnecessarily tall as soon as they were assigned even a tiny bitmap. Closes #16536. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@78118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -591,6 +591,7 @@ wxMSW:
|
||||
- Fix compilation with C++Builder XE compiler (Nichka).
|
||||
- Fix best height of wxSlider with labels but without ticks (Artur Wieczorek).
|
||||
- Fix initial text value of wxSpinCtrlDouble (Laurent Poujoulat).
|
||||
- Fix best size calculation for bitmaps with buttons (Artur Wieczorek).
|
||||
|
||||
|
||||
3.0.2: (released 2014-10-06)
|
||||
|
Reference in New Issue
Block a user