]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/typetest/typetest.cpp
Removed very out of date files in docs/msw
[wxWidgets.git] / samples / typetest / typetest.cpp
index 49aaa75753cd0cfda98195043538d914668d72e2..38133d498fa3f42184d547877d9d863fc234f189 100644 (file)
@@ -189,7 +189,7 @@ void MyApp::DoStreamDemo(wxCommandEvent& WXUNUSED(event))
 
     char std_buf[200];
     std_file_input >> std_buf;
-    str.FromAscii(std_buf);
+    str = wxString::FromAscii(std_buf);
     tmp.Printf( _T("String: %s\n"), str.c_str() );
     textCtrl.WriteText( tmp );