How to display char buffer in a wxTextCtrl?
Posted: Tue Sep 30, 2008 4:52 pm
I have a character buffer I want to display in a wxTextCtrl control.
How should I do that?
As always, apologies for these lower-than-basic questions...
Thank you.
Code: Select all
size_t qq = ResultsFile.Length();
char *rr = (char *)malloc(qq);
ResultsFile.Read(rr, qq);
ID_ResultsBox->Replace(0, qq, ?????); // wants wxString&
As always, apologies for these lower-than-basic questions...
Thank you.