This bug presents on Mac and Windows. It would appear that at some time
someone tried to fix this problem. Code was added in the OnKeyDown function;
this code appears to function properly for Linux. If this code is removed
completely the same functionality is exhibited by Windows. At this time I
need someone to test on the Mac to see if this patch helps or hinders.
+#ifdef __WXMAC__
+ // I have no way of telling what code will work on the Mac but the
following code does not
+ // Ed Musgrove
+ // 28 October 2009
+ return;
+#endif
+
+#ifdef __WXMSW__
+ // Windows seems to have this built-in and does not need the following
code
+ // Ed Musgrove
+ // 28 October 2009
+ return;
+#endif
--Ed
Index: KeyConfigPrefs.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/prefs/KeyConfigPrefs.cpp,v
retrieving revision 1.87
diff -u -r1.87 KeyConfigPrefs.cpp
--- KeyConfigPrefs.cpp 18 Oct 2009 08:04:18 -0000 1.87
+++ KeyConfigPrefs.cpp 29 Oct 2009 03:07:02 -0000
@@ -395,6 +395,25 @@
void KeyConfigPrefs::OnKeyDown(wxListEvent & e)
{
+ // the code in this function allows the user to seek to the next command which begins with the letter that is pressed
+
+#ifdef __WXMAC__
+ // I have no way of telling what code will work on the Mac but the following code does not
+ // Ed Musgrove
+ // 28 October 2009
+ return;
+#endif
+
+#ifdef __WXMSW__
+ // Windows seems to have this built-in and does not need the following code
+ // Ed Musgrove
+ // 28 October 2009
+ return;
+#endif
+
+ // The following code seems to work well on at least some versions of Linux
+ // Ed Musgrove
+ // 28 October 2009
int keycode = e.GetKeyCode();
int selected = mList->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
int cnt = mList->GetItemCount();
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel