From: Kevin Hock Date: Sat, 19 Feb 2005 02:57:46 +0000 (+0000) Subject: Sample update - wxTE_AUTO_URL from Mart R. [patch 1126182] X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/22095a6e1a53cacd630625f02b3b23728a7bb12a Sample update - wxTE_AUTO_URL from Mart R. [patch 1126182] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 208279f592..f193d587c1 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -976,9 +976,11 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) _T("(even under broken Win9x)\n") _T("and a very very very very very ") _T("very very very long line to test ") - _T("wxHSCROLL style"), + _T("wxHSCROLL style\n") + _T("\nAnd here is a link in quotation marks to ") + _T("test wxTE_AUTO_URL: \"http://www.wxwidgets.org\""), wxPoint(450, 10), wxSize(230, 230), - wxTE_RICH | wxTE_MULTILINE); + wxTE_RICH | wxTE_MULTILINE | wxTE_AUTO_URL); m_textrich->SetStyle(0, 10, *wxRED); m_textrich->SetStyle(10, 20, *wxBLUE); m_textrich->SetStyle(30, 40,