From: Mattia Barbon Date: Sun, 22 Dec 2002 20:14:18 +0000 (+0000) Subject: Unicode compilation fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aff23fcd97855c4bf263275d5237c132c895035d?ds=inline Unicode compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/exec/exec.cpp b/samples/exec/exec.cpp index 63fec8e39f..13cfdc28e9 100644 --- a/samples/exec/exec.cpp +++ b/samples/exec/exec.cpp @@ -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(); diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index ebe58946da..b5acd519f7 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -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 ); diff --git a/utils/hhp2cached/hhp2cached.cpp b/utils/hhp2cached/hhp2cached.cpp index 9f22693b9d..655f4f8dbb 100644 --- a/utils/hhp2cached/hhp2cached.cpp +++ b/utils/hhp2cached/hhp2cached.cpp @@ -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]); }