Update of /cvsroot/mahogany/M/src/modules
In directory usw-pr-cvs1:/tmp/cvs-serv10688/src/modules
Modified Files:
TextViewer.cpp
Log Message:
don't use native controls URL highlighting, we do it better now anyhow
Index: TextViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/TextViewer.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -b -u -2 -r1.33 -r1.34
--- TextViewer.cpp 3 May 2002 23:04:02 -0000 1.33
+++ TextViewer.cpp 3 May 2002 23:18:59 -0000 1.34
@@ -47,4 +47,7 @@
// only Win32 supports URLs in the text control natively so far, define this to
// use this possibility
+//
+// don't define it any longer because we do it now better than the native
+// control
//#define USE_AUTO_URL_DETECTION
@@ -219,5 +222,9 @@
: wxTextCtrl(parent, -1, "",
wxDefaultPosition, wxDefaultSize,
- wxTE_RICH | wxTE_MULTILINE | wxTE_AUTO_URL)
+ wxTE_RICH |
+#ifdef USE_AUTO_URL_DETECTION
+ wxTE_AUTO_URL |
+#endif // USE_AUTO_URL_DETECTION
+ wxTE_MULTILINE)
{
m_viewer = viewer;
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates