]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/textctrl.mm
Comment correction.
[wxWidgets.git] / src / cocoa / textctrl.mm
index b1333610cbc63ab5ea9a1dbbca44c45396cf55b9..ded17b2b1a57093d2e383d76451ac90dd455fd12 100644 (file)
@@ -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;