To get the length of the text in the control there is no need to convert NSString to wxString (what is done now by calling to GetStringValue).
To get the length of the text in the control there is no need to convert NSString to wxString (what is done now by calling to GetStringValue).