git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30149
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxMSW:
- fixed enhanced metafiles loading from files (Andreas Goebel)
-- Group of wxRadioButtons no longer have to be consecutive
+- wxRadioButtons no longer have to be consecutive in a group
+- fixed wxBU_EXACTFIT handling in wxBitmapButton
2.5.3
if ( !HasFlag(wxBU_EXACTFIT) )
{
wxSize sz = GetDefaultSize();
- if (best.x > sz.x)
- sz.x = best.x;
- if (best.y > sz.y)
- sz.y = best.y;
+ if ( best.x < sz.x )
+ best.x = sz.x;
+ if ( best.y < sz.y )
+ best.y = sz.y;
}
return best;