Update of /cvsroot/mahogany/M/src/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25553/src/modules
Modified Files:
TextViewer.cpp
Log Message:
GTK1 compilation fix
Index: TextViewer.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/TextViewer.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -b -u -2 -r1.60 -r1.61
--- TextViewer.cpp 23 Jul 2004 21:00:15 -0000 1.60
+++ TextViewer.cpp 25 Jul 2004 14:46:36 -0000 1.61
@@ -430,5 +430,10 @@
{
long pos;
+#if defined(__WXMSW__) || defined(__WXGTK20__)
wxTextCtrlHitTestResult rc = HitTest(event.GetPosition(), &pos);
+#else
+ rc = wxTE_HT_ON_TEXT;
+ pos = GetInsertionPoint();
+#endif
if ( rc != wxTE_HT_ON_TEXT || !ProcessMouseEvent(event, pos) )
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates