]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode compilation fixes.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 22 Dec 2002 20:14:18 +0000 (20:14 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 22 Dec 2002 20:14:18 +0000 (20:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/exec/exec.cpp
samples/menu/menu.cpp
utils/hhp2cached/hhp2cached.cpp

index 63fec8e39f58ebe815b14b49d0bb50d6cea0f350..13cfdc28e9a68b353d25ff5f0634f78fe3cc80ad 100644 (file)
@@ -202,7 +202,7 @@ protected:
 
     void DoSend()
     {
-        m_out.WriteString(m_textIn->GetValue() + '\n');
+        m_out.WriteString(m_textIn->GetValue() + _T('\n'));
         m_textIn->Clear();
 
         DoGet();
index ebe58946daf60cff976d38680ff29730f94da4d9..b5acd519f7f787a78a6053bb97b1b7537cd0b466 100644 (file)
@@ -584,7 +584,7 @@ void MyFrame::OnFindMenu(wxCommandEvent& WXUNUSED(event))
                      (
                         _T("Enter label to search for: "),
                         _T("Find menu"),
-                        "",
+                        _T(""),
                         this
                      );
 
@@ -798,7 +798,7 @@ void MyFrame::OnFindMenuItem(wxCommandEvent& WXUNUSED(event))
                      (
                         _T("Enter label to search for: "),
                         _T("Find menu item"),
-                        "",
+                        _T(""),
                         this
                      );
 
index 9f22693b9da4a055b61856666c6e0bf45f1ef3e8..655f4f8dbb6426bcff7b4ad5951a0609bfb1514f 100644 (file)
@@ -33,7 +33,7 @@ bool MyApp::OnInit()
     for (int i = 1; i < argc; i++)
     {
         wxHtmlHelpData data;
-        wxPrintf("Processing %s...\n", argv[i]);
+        wxPrintf(_T("Processing %s...\n"), argv[i]);
         data.SetTempDir(wxPathOnly(argv[i]));
         data.AddBook(argv[i]);
     }