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

Modified Files:
        wxFolderView.cpp 
Log Message:
made Space key scroll down the message when it is used in the message view too (and 
not only in folder view)

Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.665
retrieving revision 1.666
diff -b -u -2 -r1.665 -r1.666
--- wxFolderView.cpp    8 Sep 2004 21:47:23 -0000       1.665
+++ wxFolderView.cpp    8 Sep 2004 22:50:11 -0000       1.666
@@ -4303,6 +4303,10 @@
 {
    // this function exists to make it possible to treat some keys differently
-   // in the viewer window than in the list control but for now we don't use
-   // this possibility (we probably will later, so don't remove it)
+   // in the viewer window than in the list control
+   if ( event.GetKeyCode() == WXK_SPACE )
+   {
+      if ( m_MessagePreview )
+         m_MessagePreview->PageDown();
+   }
 
    return HandleFolderViewCharEvent(event);



-------------------------------------------------------
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

Reply via email to