- textCtrl << _T("MIME information about extension '") << ext << _T("'\n")
- << _T("\tMIME type: ") << ( !type ? wxT("unknown")
- : type.c_str() ) << '\n'
- << _T("\tDescription: ") << ( !desc ? wxT("") : desc.c_str() )
- << '\n'
- << _T("\tCommand to open: ") << ( !open ? wxT("no") : open.c_str() )
- << '\n';
+ textCtrl << _T("MIME information about extension '") << ext << _T('\n')
+ << _T("\tMIME type: ") << ( !type ? wxString("unknown") : type ) << _T('\n')
+ << _T("\tDescription: ") << ( !desc ? wxString(wxEmptyString) : desc )
+ << _T('\n')
+ << _T("\tCommand to open: ") << ( !open ? wxString("no") : open )
+ << _T('\n');