]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/typetest/typetest.cpp
compate charset names case-insensitively in GetEncodingFromName()
[wxWidgets.git] / samples / typetest / typetest.cpp
index 38133d498fa3f42184d547877d9d863fc234f189..20c0db5d2ece13f31a8d39f829f34c8cac536d1f 100644 (file)
@@ -955,13 +955,13 @@ void MyApp::DoMIMEDemo(wxCommandEvent& WXUNUSED(event))
             wxFileType::MessageParameters params(filename, type);
             filetype->GetOpenCommand(&open, params);
 
             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")
                      << _T("\tMIME type: ") << ( !type ? wxT("unknown")
-                                                   : type.c_str() ) << '\n'
+                                                   : type.c_str() ) << _T('\n')
                      << _T("\tDescription: ") << ( !desc ? wxEmptyString : desc.c_str() )
                      << _T("\tDescription: ") << ( !desc ? wxEmptyString : desc.c_str() )
-                        << '\n'
+                        << _T('\n')
                      << _T("\tCommand to open: ") << ( !open ? wxT("no") : open.c_str() )
                      << _T("\tCommand to open: ") << ( !open ? wxT("no") : open.c_str() )
-                        << '\n';
+                        << _T('\n');
 
             delete filetype;
         }
 
             delete filetype;
         }