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

Modified Files:
        wxFolderTree.cpp wxFolderView.cpp 
Log Message:
handle WXK_NUMPAD_XXX versions of the keys too

Index: wxFolderTree.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderTree.cpp,v
retrieving revision 1.240
retrieving revision 1.241
diff -b -u -2 -r1.240 -r1.241
--- wxFolderTree.cpp    12 Feb 2006 16:33:58 -0000      1.240
+++ wxFolderTree.cpp    13 Feb 2006 16:45:43 -0000      1.241
@@ -3052,10 +3052,14 @@
       {
          case WXK_DOWN:
+         case WXK_NUMPAD_DOWN:
          case WXK_UP:
+         case WXK_NUMPAD_UP:
             // do go to next or previous folder
-            (void)GoToNextUnreadFolder(keycode == WXK_DOWN);
+            (void)GoToNextUnreadFolder(keycode == WXK_DOWN ||
+                                          keycode == WXK_NUMPAD_DOWN);
             break;
 
          case WXK_HOME:
+         case WXK_NUMPAD_HOME:
             GoToHomeFolder();
             break;

Index: wxFolderView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxFolderView.cpp,v
retrieving revision 1.674
retrieving revision 1.675
diff -b -u -2 -r1.674 -r1.675
--- wxFolderView.cpp    12 Feb 2006 16:33:59 -0000      1.674
+++ wxFolderView.cpp    13 Feb 2006 16:45:43 -0000      1.675
@@ -2166,9 +2166,15 @@
    {
       case WXK_UP:
+      case WXK_NUMPAD_UP:
       case WXK_DOWN:
+      case WXK_NUMPAD_DOWN:
       case WXK_PRIOR:
+      case WXK_NUMPAD_PRIOR:
       case WXK_NEXT:
+      case WXK_NUMPAD_NEXT:
       case WXK_HOME:
+      case WXK_NUMPAD_HOME:
       case WXK_END:
+      case WXK_NUMPAD_END:
       case WXK_SPACE:
          // update the unique selection flag as we can lose it now (the keys



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to