From 0c113874087e390f5c1a2dfc0963d9d84b898509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 5 May 2006 17:24:00 +0000 Subject: [PATCH] [ 1482626 ] Fix widgets sample build on unicode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/widgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/widgets/widgets.cpp b/samples/widgets/widgets.cpp index 40e8b3b3af..3473a56c9f 100644 --- a/samples/widgets/widgets.cpp +++ b/samples/widgets/widgets.cpp @@ -525,7 +525,7 @@ void WidgetsFrame::OnSetTooltip(wxCommandEvent& WXUNUSED(event)) return; s_tip = dialog.GetValue(); - s_tip.Replace("\\n", "\n"); + s_tip.Replace(_T("\\n"), _T("\n")); WidgetsPage *page = wxStaticCast(m_book->GetCurrentPage(), WidgetsPage); page->GetWidget()->SetToolTip(s_tip);