[ 1482626 ] Fix widgets sample build on unicode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2006-05-05 17:24:00 +00:00
parent cb3db09022
commit 0c11387408

View File

@ -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);