Update of /cvsroot/mahogany/M/src/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10091/src/modules

Modified Files:
        HtmlViewer.cpp 
Log Message:
test for wxWin version instead of wxHAVE_HTML_SELECTALL

Index: HtmlViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/HtmlViewer.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -b -u -2 -r1.60 -r1.61
--- HtmlViewer.cpp      13 Jan 2004 23:24:00 -0000      1.60
+++ HtmlViewer.cpp      11 Feb 2004 22:02:11 -0000      1.61
@@ -653,9 +653,7 @@
 void HtmlViewer::SelectAll()
 {
-   // you need http://www.volny.cz/v.slavik/wx/wx-htmlwin-selectall.patch
-   // to enable this
-#ifdef wxHAVE_HTML_SELECTALL
+#if wxCHECK_VERSION(2, 5, 1)
    m_window->SelectAll();
-#endif // wxHAVE_HTML_SELECTALL
+#endif // wxWin 2.5.1+
 }
 



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to