+ return wxStringWithNSString([GetNSTextField() stringValue]);
+}
+
+wxSize wxTextCtrl::DoGetBestSize() const
+{
+ wxAutoNSAutoreleasePool pool;
+ wxASSERT(GetNSControl());
+ NSCell *cell = [GetNSControl() cell];
+ wxASSERT(cell);
+ NSSize cellSize = [cell cellSize];
+ wxSize size(100,(int)ceilf(cellSize.height));
+
+ wxLogTrace(wxTRACE_COCOA_Window_Size,wxT("wxTextCtrl=%p::DoGetBestSize()==(%d,%d)"),this,size.x,size.y);
+ return size;