Update of /cvsroot/audacity/audacity-src/src/commands
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv4773

Modified Files:
        Keyboard.cpp 
Log Message:
Make compatible with wxWidgets 2.8

Index: Keyboard.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/commands/Keyboard.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Keyboard.cpp        17 Apr 2006 23:10:36 -0000      1.7
+++ Keyboard.cpp        18 Nov 2006 05:43:24 -0000      1.8
@@ -66,12 +66,14 @@
       case WXK_RETURN:
          newStr += wxT("Return");
          break;
+#if !wxCHECK_VERSION(2, 7, 0)
       case WXK_PRIOR:
          newStr += wxT("PageUp");
          break;
       case WXK_NEXT:
          newStr += wxT("PageDown");
          break;
+#endif
       case WXK_END:
          newStr += wxT("End");
          break;
@@ -246,15 +248,17 @@
       case WXK_NUMPAD_DOWN:
          newStr += wxT("NUMPAD_DOWN");
          break;
+#if !wxCHECK_VERSION(2, 7, 0)
       case WXK_NUMPAD_PRIOR:
          newStr += wxT("NUMPAD_PAGEUP");
          break;
-      case WXK_NUMPAD_PAGEUP:
-         newStr += wxT("NUMPAD_PAGEUP");
-         break;
       case WXK_NUMPAD_NEXT:
          newStr += wxT("NUMPAD_PAGEDOWN");
          break;
+#endif
+      case WXK_NUMPAD_PAGEUP:
+         newStr += wxT("NUMPAD_PAGEUP");
+         break;
       case WXK_NUMPAD_PAGEDOWN:
          newStr += wxT("NUMPAD_PAGEDOWN");
          break;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to