Update of /cvsroot/audacity/audacity-src/src/prefs In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31365
Modified Files: KeyConfigPrefs.cpp Log Message: Code from Ed to correct seeking to the next command by pressing the first char of the command, was skipping one on Win. Index: KeyConfigPrefs.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/prefs/KeyConfigPrefs.cpp,v retrieving revision 1.87 retrieving revision 1.88 diff -u -d -r1.87 -r1.88 --- KeyConfigPrefs.cpp 18 Oct 2009 08:04:18 -0000 1.87 +++ KeyConfigPrefs.cpp 30 Dec 2009 00:07:15 -0000 1.88 @@ -395,6 +395,21 @@ 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 (Ed) have no way of telling what code will work on + // the Mac but the following code does not + return; +#endif + +#ifdef __WXMSW__ + // Windows seems to have this built-in + // and does not need the following code + return; +#endif + + // The following code seems to work well on at least some versions of Linux int keycode = e.GetKeyCode(); int selected = mList->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED); int cnt = mList->GetItemCount(); ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs