]> git.saurik.com Git - wxWidgets.git/commitdiff
Sample update - wxTE_AUTO_URL from Mart R. [patch 1126182]
authorKevin Hock <hockkn@yahoo.com>
Sat, 19 Feb 2005 02:57:46 +0000 (02:57 +0000)
committerKevin Hock <hockkn@yahoo.com>
Sat, 19 Feb 2005 02:57:46 +0000 (02:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/text/text.cpp

index 208279f59280c578ca92b4f7c59529b10d43e83d..f193d587c12660d5bf19971ab6a8bb97b20cf6fc 100644 (file)
@@ -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,