X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5447d1e1e3ba970595ba1aaee2772ccae12e3366..61f0bec0cd812de8ed7e50dff6a269043e49c7a2:/src/cocoa/button.mm diff --git a/src/cocoa/button.mm b/src/cocoa/button.mm index 5ae10895f6..a00ff71329 100644 --- a/src/cocoa/button.mm +++ b/src/cocoa/button.mm @@ -106,6 +106,6 @@ wxSize wxButtonBase::GetDefaultSize() { static NSRect cocoaRect = MakeNSButtonDefaultRect(); // Apple HIG says OK/Cancel buttons have default width of 68. - return wxSize(68,(int)ceilf(cocoaRect.size.height)); + return wxSize(68,(int)ceil(cocoaRect.size.height)); }