{
     if ( !wxTheClipboard->Open() )
     {
-        wxLogError("Can't open clipboard.");
+        wxLogError(_T("Can't open clipboard."));
 
         return;
     }
 
     if ( !wxTheClipboard->AddData(new wxTextDataObject(m_strText)) )
     {
-        wxLogError("Can't copy data to the clipboard");
+        wxLogError(_T("Can't copy data to the clipboard"));
     }
     else
     {
-        wxLogMessage("Text '%s' put on the clipboard", m_strText.c_str());
+        wxLogMessage(_T("Text '%s' put on the clipboard"), m_strText.c_str());
     }
 
     wxTheClipboard->Close();
 {
     if ( !wxTheClipboard->Open() )
     {
-        wxLogError("Can't open clipboard.");
+        wxLogError(_T("Can't open clipboard."));
 
         return;
     }
 
     if ( !wxTheClipboard->IsSupported(wxDF_TEXT) )
     {
-        wxLogWarning("No text data on clipboard");
+        wxLogWarning(_T("No text data on clipboard"));
 
         return;
     }
     wxTextDataObject text;
     if ( !wxTheClipboard->GetData(&text) )
     {
-        wxLogError("Can't paste data from the clipboard");
+        wxLogError(_T("Can't paste data from the clipboard"));
     }
     else
     {
-        wxLogMessage("Text '%s' pasted from the clipboard",
+        wxLogMessage(_T("Text '%s' pasted from the clipboard"),
                      text.GetText().c_str());
     }
 
 
   ///   single window : (one document at a time, only one frame, as in Windows Write)
   if (argc > 1)
   {
-    if (strcmp(argv[1], "-single") == 0)
+    if (wxStrcmp(argv[1], _T("-single")) == 0)
     {
       singleWindowMode = TRUE;
     }