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 );
wxFileType::MessageParameters params(filename, type);
filetype->GetOpenCommand(&open, params);
- textCtrl << _T("MIME information about extension '") << ext << _T("'\n")
+ textCtrl << _T("MIME information about extension '") << ext << _T('\n')
<< _T("\tMIME type: ") << ( !type ? wxT("unknown")
- : type.c_str() ) << '\n'
+ : type.c_str() ) << _T('\n')
<< _T("\tDescription: ") << ( !desc ? wxEmptyString : desc.c_str() )
- << '\n'
+ << _T('\n')
<< _T("\tCommand to open: ") << ( !open ? wxT("no") : open.c_str() )
- << '\n';
+ << _T('\n');
delete filetype;
}