Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32118/src/gui
Modified Files:
wxFolderView.cpp
Log Message:
also made Return scroll down the message by line when the message view has focus
Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.666
retrieving revision 1.667
diff -b -u -2 -r1.666 -r1.667
--- wxFolderView.cpp 8 Sep 2004 22:50:11 -0000 1.666
+++ wxFolderView.cpp 9 Sep 2004 08:57:59 -0000 1.667
@@ -4304,8 +4304,16 @@
// this function exists to make it possible to treat some keys differently
// in the viewer window than in the list control
- if ( event.GetKeyCode() == WXK_SPACE )
- {
if ( m_MessagePreview )
+ {
+ switch ( event.GetKeyCode() )
+ {
+ case WXK_SPACE:
m_MessagePreview->PageDown();
+ return true;
+
+ case WXK_RETURN:
+ m_MessagePreview->LineDown();
+ return true;
+ }
}
-------------------------------------------------------
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=5047&alloc_id=10808&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates