git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -955,11 +955,10 @@ void MyApp::DoMIMEDemo(wxCommandEvent& WXUNUSED(event))
|
||||
filetype->GetOpenCommand(&open, params);
|
||||
|
||||
textCtrl << _T("MIME information about extension '") << ext << _T('\n')
|
||||
<< _T("\tMIME type: ") << ( !type ? wxT("unknown")
|
||||
: type.c_str() ) << _T('\n')
|
||||
<< _T("\tDescription: ") << ( !desc ? wxEmptyString : desc.c_str() )
|
||||
<< _T("\tMIME type: ") << ( !type ? wxString("unknown") : type ) << _T('\n')
|
||||
<< _T("\tDescription: ") << ( !desc ? wxString(wxEmptyString) : desc )
|
||||
<< _T('\n')
|
||||
<< _T("\tCommand to open: ") << ( !open ? wxT("no") : open.c_str() )
|
||||
<< _T("\tCommand to open: ") << ( !open ? wxString("no") : open )
|
||||
<< _T('\n');
|
||||
|
||||
delete filetype;
|
||||
|
Reference in New Issue
Block a user