X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d8268a1d64de58aab194e4d8ae800c755990aad..61f0bec0cd812de8ed7e50dff6a269043e49c7a2:/src/cocoa/textctrl.mm diff --git a/src/cocoa/textctrl.mm b/src/cocoa/textctrl.mm index b1333610cb..ded17b2b1a 100644 --- a/src/cocoa/textctrl.mm +++ b/src/cocoa/textctrl.mm @@ -215,7 +215,7 @@ wxSize wxTextCtrl::DoGetBestSize() const NSCell *cell = [GetNSControl() cell]; wxASSERT(cell); NSSize cellSize = [cell cellSize]; - wxSize size(100,(int)ceilf(cellSize.height)); + wxSize size(100,(int)ceil(cellSize.height)); wxLogTrace(wxTRACE_COCOA_Window_Size,wxT("wxTextCtrl=%p::DoGetBestSize()==(%d,%d)"),this,size.x,size.y); return size;