[ 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:
parent
cb3db09022
commit
0c11387408
@ -525,7 +525,7 @@ void WidgetsFrame::OnSetTooltip(wxCommandEvent& WXUNUSED(event))
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
s_tip = dialog.GetValue();
|
s_tip = dialog.GetValue();
|
||||||
s_tip.Replace("\\n", "\n");
|
s_tip.Replace(_T("\\n"), _T("\n"));
|
||||||
|
|
||||||
WidgetsPage *page = wxStaticCast(m_book->GetCurrentPage(), WidgetsPage);
|
WidgetsPage *page = wxStaticCast(m_book->GetCurrentPage(), WidgetsPage);
|
||||||
page->GetWidget()->SetToolTip(s_tip);
|
page->GetWidget()->SetToolTip(s_tip);
|
||||||
|
Loading…
Reference in New Issue
Block a user